Merge pull request #6551 from Heroman3003/dropfix

Fixes elevator doors opening in passing
This commit is contained in:
Anewbe
2019-11-29 19:48:17 -05:00
committed by VirgoBot
parent b1e5b169e2
commit 14acfc2aa5
+1 -1
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()