diff options
-rw-r--r-- | advtrains/trainhud.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua index ce4b913..c133a54 100644 --- a/advtrains/trainhud.lua +++ b/advtrains/trainhud.lua @@ -50,6 +50,10 @@ function advtrains.on_control_change(pc, train, flip) train.ctrl_user = 1 act=true end + if train.ars_disable and pc.up then + -- up clears ars disable flag in any situation + train.ars_disable = nil + end -- If atc command set, only "Jump" key can clear command. To prevent accidental control. if train.tarvelocity or train.atc_command then return |