diff --git a/toontown/building/DistributedDoor.py b/toontown/building/DistributedDoor.py index 059295bd..fe4227dc 100755 --- a/toontown/building/DistributedDoor.py +++ b/toontown/building/DistributedDoor.py @@ -233,9 +233,9 @@ class DistributedDoor(DistributedObject.DistributedObject, DelayDeletable): self.setupNametag() def getBuilding(self): - if not hasattr(self, 'building'): + if not hasattr(self, 'building') or not self.building: if self.doorType == DoorTypes.INT_STANDARD: - door = render.find('**/leftDoor;+s') + door = render.find('**/*leftDoor*') self.building = door.getParent() elif self.doorType == DoorTypes.INT_HQ: door = render.find('**/door_0')