toon: fix zombie check

This commit is contained in:
John Cote 2020-01-05 21:34:07 -05:00
parent 74f114621b
commit bdfd01b6b0

View file

@ -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())