prevent AI startup crash (and re-break doHeirarchy)

This commit is contained in:
Darren Ranalli 2005-06-08 17:56:33 +00:00
parent 6275253811
commit 7080e735ef

View File

@ -355,7 +355,8 @@ class DistributedObjectAI(DirectObject.DirectObject):
other networked info in this function.
"""
assert self.notify.debugStateCall(self)
self.air.storeObjectLocation(self.doId, self.parentId, self.zoneId)
# we don't always have a parentId, e.g. DistributedAvatarManagerAI
#self.air.storeObjectLocation(self.doId, self.parentId, self.zoneId)
if wantOtpServer:
def generateInit(self, repository=None):