aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains/advtrains/atc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains/atc.lua b/advtrains/advtrains/atc.lua
index 63ea3fd..cd9476c 100644
--- a/advtrains/advtrains/atc.lua
+++ b/advtrains/advtrains/atc.lua
@@ -150,7 +150,7 @@ local matchptn={
train.tarvelocity=train.max_speed
return 2
end,
- ["attrans([0-9]+)"]=function(id, train, match)
+ ["S([0-9]+)"]=function(id, train, match)
train.tarvelocity=tonumber(match)
return #match+1
end,