2
0
Эх сурвалжийг харах

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

Redmond Urbino 17 жил өмнө
parent
commit
7d4e680002

+ 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):