Fix find&replace mistake that broke ATC command interpretation

master
orwell96 2017-01-24 21:10:53 +01:00
parent 29886d5657
commit edc7f1ec5f
1 changed files with 1 additions and 1 deletions

View File

@ -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,