toon: fix zombie check
This commit is contained in:
parent
74f114621b
commit
bdfd01b6b0
1 changed files with 1 additions and 1 deletions
|
@ -2600,7 +2600,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute
|
|||
return self.uniqueName('zombieCheck')
|
||||
|
||||
def _doZombieCheck(self, task = None):
|
||||
self._lastZombieContext = next(self._zombieCheckSerialGen)
|
||||
self._lastZombieContext = self._zombieCheckSerialGen.next()
|
||||
self.cr.timeManager.checkAvOnDistrict(self, self._lastZombieContext)
|
||||
taskMgr.doMethodLater(60.0, self._doZombieCheck, self._getZombieCheckTaskName())
|
||||
|
||||
|
|
Loading…
Reference in a new issue