Browse Source

TEMPORARY hack to kill client crash. UNDO if when proper fix found

Redmond Urbino 17 years ago
parent
commit
7d4e680002
1 changed files with 1 additions and 2 deletions
  1. 1 2
      direct/src/distributed/DistributedObject.py

+ 1 - 2
direct/src/distributed/DistributedObject.py

@@ -251,8 +251,7 @@ class DistributedObject(DistributedObjectBase):
         self.__callbacks = {}
         if self.cr:
             self.cr.closeAutoInterests(self)
-        self.setLocation(0,0)
-        if self.cr:
+            self.setLocation(0,0)
             self.cr.deleteObjectLocation(self, self.parentId, self.zoneId)
 
     def _destroyDO(self):