mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-03 22:13:50 +00:00
Merge pull request #6255 from VOREStation/upstream-merge-6551
[MIRROR] Fixes elevator doors opening in passing
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
return
|
||||
light_up()
|
||||
pressed(user)
|
||||
if(floor == lift.current_floor)
|
||||
if(floor == lift.current_floor && !(lift.target_floor)) //Make sure we're not going anywhere before opening doors
|
||||
lift.open_doors()
|
||||
spawn(3)
|
||||
reset()
|
||||
|
||||
Reference in New Issue
Block a user