|
@@ -411,7 +411,7 @@ class DistributedObject(PandaObject):
|
|
|
|
|
|
|
|
def getLocation(self):
|
|
def getLocation(self):
|
|
|
try:
|
|
try:
|
|
|
- if self.parentId <= 0 and self.zoneId <= 0:
|
|
|
|
|
|
|
+ if self.parentId == 0 and self.zoneId == 0:
|
|
|
return None
|
|
return None
|
|
|
# This is a -1 stuffed into a uint32
|
|
# This is a -1 stuffed into a uint32
|
|
|
if self.parentId == 0xffffffff and self.zoneId == 0xffffffff:
|
|
if self.parentId == 0xffffffff and self.zoneId == 0xffffffff:
|