Browse Source

fix AI crash

David Rose 19 years ago
parent
commit
93a66498c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/distributed/DoCollectionManager.py

+ 1 - 1
direct/src/distributed/DoCollectionManager.py

@@ -228,7 +228,7 @@ class DoCollectionManager:
                     parentObj.handleChildArrive(object, zoneId)
                 elif parentId not in (0, self.getGameDoId()):
                     self.notify.warning('storeObjectLocation(%s): parent %s not present' %
-                                        (doId, parentId))
+                                        (object.doId, parentId))
             
     def deleteObjectLocation(self, object, parentId, zoneId):
         # Do not worry about null values