diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 3cc1baf3b5..4dd1094fe8 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -167,8 +167,8 @@ class DistributedObjectAI(DirectObject.DirectObject): lastLogicalZone = self.lastNonQuietZone self.handleLogicalZoneChange(zoneId, lastLogicalZone) self.lastNonQuietZone = zoneId - self.air.storeObjectLocation(self.doId, parentId, zoneId) - self.__location = (parentId, zoneId) + self.air.storeObjectLocation(self.doId, parentId, zoneId) + self.__location = (parentId, zoneId) # Set the initial values of parentId,zoneId def setInitLocation(self, parentId, zoneId):