aboutsummaryrefslogtreecommitdiff
path: root/advtrains_line_automation/stoprail.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-12-27 18:20:03 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:39:46 +0100
commit3c42d87dc0b4b3aed454e68541bff711dba75dc9 (patch)
tree8c22d6027632c34cbbf06c05e7c6b05bc477f216 /advtrains_line_automation/stoprail.lua
parent080b8fb27342827965bab2567dde14e57433b55e (diff)
downloadadvtrains-3c42d87dc0b4b3aed454e68541bff711dba75dc9.tar.gz
advtrains-3c42d87dc0b4b3aed454e68541bff711dba75dc9.tar.bz2
advtrains-3c42d87dc0b4b3aed454e68541bff711dba75dc9.zip
Stoprail: Set LZB checkpoint speed back to 2
Caused problems when approaching stoprail in manual control also better for compatibility
Diffstat (limited to 'advtrains_line_automation/stoprail.lua')
-rw-r--r--advtrains_line_automation/stoprail.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_line_automation/stoprail.lua b/advtrains_line_automation/stoprail.lua
index 4fdab51..9c1470a 100644
--- a/advtrains_line_automation/stoprail.lua
+++ b/advtrains_line_automation/stoprail.lua
@@ -181,7 +181,7 @@ local adefunc = function(def, preset, suffix, rotation)
stdata.ars = {default=true}
end
if stdata.ars and (stdata.ars.default or advtrains.interlocking.ars_check_rule_match(stdata.ars, train) ) then
- advtrains.lzb_add_checkpoint(train, index, 0, nil)
+ advtrains.lzb_add_checkpoint(train, index, 2, nil)
local stn = advtrains.lines.stations[stdata.stn]
local stnname = stn and stn.name or "Unknown Station"
train.text_inside = "Next Stop:\n"..stnname