From 0f5ca805f3a43022c56ff4a8ae2c3bc9c5618381 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 10 Jun 2005 00:15:31 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/distributed/DistributedObjectAI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 4dd1094fe8..ffdb948c1a 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -356,7 +356,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) + if wantOtpServer: + self.air.storeObjectLocation(self.doId, self.parentId, self.zoneId) if wantOtpServer: def generateInit(self, repository=None):