work on doors while moving

This commit is contained in:
2024-05-05 02:02:26 -04:00
parent 601a45b056
commit 835e1da3ec
2 changed files with 10 additions and 12 deletions

View File

@@ -246,7 +246,6 @@ function Otis1960:__MoveFloors(GoalLevelVEC, RequestedLevel, GoingUp)
FloorLeveling(self, RequestedLevel)
if ElevatorPositionY>=BoxAlignY-Otis1960.DoorOpeningDistance and not DoorsOpeningEvent then
print("fired")
DoorsOpeningEvent = true
self.ElevatorDoors:ToggleElevatorDoors(true, RequestedLevel)
end