DNA: Fix tutorial door.

This commit is contained in:
Loudrob 2015-03-17 12:40:16 -04:00
parent a503e92deb
commit 76457187d1

View file

@ -113,7 +113,7 @@ class DistributedTutorialInterior(DistributedObject.DistributedObject):
door_origin.setScale(0.8, 0.8, 0.8)
door_origin.setPos(door_origin, 0, -0.025, 0)
color = self.randomGenerator.choice(self.colors['TI_door'])
DNADoor.setupDoor(doorNP, self.interior, door_origin, self.dnaStore, str(self.block), color)
setupDoor(doorNP, self.interior, door_origin, self.dnaStore, str(self.block), color)
doorFrame = doorNP.find('door_*_flat')
doorFrame.wrtReparentTo(self.interior)
doorFrame.setColor(color)