mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Tutorial fix
This commit is contained in:
parent
f137f3f047
commit
19608959c5
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue