diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 9dd2862e7b..d5bb52a8e6 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -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):