mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added requestDelete tracking
This commit is contained in:
parent
ad5749c61e
commit
6216dd28b9
@ -127,6 +127,8 @@ class DistributedObjectAI(DistributedObjectBase):
|
||||
barrier.cleanup()
|
||||
self.__barriers = {}
|
||||
|
||||
self.air.stopTrackRequestDeletedDO(self)
|
||||
|
||||
# DCR: I've re-enabled this block of code so that Toontown's
|
||||
# AI won't leak channels.
|
||||
# Let me know if it causes trouble.
|
||||
@ -465,6 +467,7 @@ class DistributedObjectAI(DistributedObjectBase):
|
||||
(self.__class__, doId))
|
||||
return
|
||||
self.air.requestDelete(self)
|
||||
self.air.startTrackRequestDeletedDO(self)
|
||||
self._DOAI_requestedDelete = True
|
||||
|
||||
def taskName(self, taskString):
|
||||
|
Loading…
x
Reference in New Issue
Block a user