diff options
author | orwell96 <orwell@bleipb.de> | 2019-04-16 09:16:44 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-04-16 09:16:44 +0200 |
commit | ea33ad9de0a77887f0181d8581568fe79d14255e (patch) | |
tree | 7c2fa83878777c921ace816a1954d316c7f84a1e /advtrains_interlocking/tsr_rail.lua | |
parent | c50224e05cfc7a37b9181565024c972446a720ca (diff) | |
download | advtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.tar.gz advtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.tar.bz2 advtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.zip |
Move LZB system to core and unify approach callback mechanism
Diffstat (limited to 'advtrains_interlocking/tsr_rail.lua')
-rw-r--r-- | advtrains_interlocking/tsr_rail.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/tsr_rail.lua b/advtrains_interlocking/tsr_rail.lua index 90e8101..89da290 100644 --- a/advtrains_interlocking/tsr_rail.lua +++ b/advtrains_interlocking/tsr_rail.lua @@ -34,7 +34,7 @@ local adefunc = function(def, preset, suffix, rotation) if train.path_cn[index] == 1 then local pe = advtrains.encode_pos(pos) local npr = advtrains.interlocking.npr_rails[pe] or 2 - advtrains.interlocking.lzb_add_oncoming_npr(train, index, npr) + advtrains.lzb_add_checkpoint(train, index, npr, nil) end end, }, |