Merge pull request #6255 from VOREStation/upstream-merge-6551

[MIRROR] Fixes elevator doors opening in passing
This commit is contained in:
Novacat
2019-11-29 20:09:03 -05:00
committed by GitHub

View File

@@ -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()