diff options
Diffstat (limited to 'advtrains/atc.lua')
-rw-r--r-- | advtrains/atc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/advtrains/atc.lua b/advtrains/atc.lua index 2fa3929..1c6df36 100644 --- a/advtrains/atc.lua +++ b/advtrains/atc.lua @@ -256,6 +256,11 @@ local matchptn={ end return 1 end, + ["A([01])"]=function(id, train, match) + if not advtrains.interlocking then return 2 end + advtrains.interlocking.ars_set_disable(train, match=="0") + return 2 + end, } eval_conditional = function(command, arrow, speed) |