From 19608959c56600b34c8050176bcee1dac1eb4a5f Mon Sep 17 00:00:00 2001 From: John Date: Wed, 12 Aug 2015 19:10:45 +0300 Subject: [PATCH] Tutorial fix --- toontown/building/DistributedDoor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')