diff options
Diffstat (limited to 'advtrains/atcjit.lua')
-rw-r--r-- | advtrains/atcjit.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/advtrains/atcjit.lua b/advtrains/atcjit.lua index 6ce908b..708d035 100644 --- a/advtrains/atcjit.lua +++ b/advtrains/atcjit.lua @@ -16,10 +16,10 @@ command involves waiting, it should: argument and the error message as the second argument. ]] local matchptn = { - ["A[01FT]"] = function(match) + ["A([01FT])"] = function(_, match) return string.format( - "advtrains.interlocking.set_ars_disable(train,%s)", - (match=="0" or match=="F") and "true" or "false"), false + "train.ars_disable=%s", + (match=="0" or match=="F") and "true" or "false") end, ["BB"] = function() return [[do |