aboutsummaryrefslogtreecommitdiff
path: root/advtrains/atc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/atc.lua')
-rw-r--r--advtrains/atc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/atc.lua b/advtrains/atc.lua
index 940cb08..1d3b04c 100644
--- a/advtrains/atc.lua
+++ b/advtrains/atc.lua
@@ -175,7 +175,7 @@ local matchptn={
end,
["B([0-9B]+)"]=function(id, train, match)
if match=="B" then
- train.atc_brake_target = -1 -- this means emergency brake. TODO don't forget to implement in train step!
+ train.atc_brake_target = -1
train.tarvelocity = 0
elseif train.velocity>tonumber(match) then
train.atc_brake_target=tonumber(match)