mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Doors P3D 1.10.0 fix
This commit is contained in:
parent
bbea8f8541
commit
1213349611
1 changed files with 5 additions and 5 deletions
|
@ -143,14 +143,14 @@ class DistributedDoor(DistributedObject.DistributedObject, DelayDeletable):
|
||||||
return 'exit' + self.getTriggerName()
|
return 'exit' + self.getTriggerName()
|
||||||
|
|
||||||
def hideDoorParts(self):
|
def hideDoorParts(self):
|
||||||
if self.doorType in self.specialDoorTypes:
|
|
||||||
self.hideIfHasFlat(self.findDoorNode('rightDoor'))
|
|
||||||
self.hideIfHasFlat(self.findDoorNode('leftDoor'))
|
|
||||||
try:
|
try:
|
||||||
self.findDoorNode('doorFrameHoleRight').hide()
|
self.findDoorNode('doorFrameHoleRight').hide()
|
||||||
self.findDoorNode('doorFrameHoleLeft').hide()
|
self.findDoorNode('doorFrameHoleLeft').hide()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
if self.doorType in self.specialDoorTypes:
|
||||||
|
self.hideIfHasFlat(self.findDoorNode('rightDoor'))
|
||||||
|
self.hideIfHasFlat(self.findDoorNode('leftDoor'))
|
||||||
|
|
||||||
def setTriggerName(self):
|
def setTriggerName(self):
|
||||||
if self.doorType in self.specialDoorTypes or self.doorType == DoorTypes.INT_HQ:
|
if self.doorType in self.specialDoorTypes or self.doorType == DoorTypes.INT_HQ:
|
||||||
|
|
Loading…
Reference in a new issue