diff options
Diffstat (limited to 'advtrains_interlocking/lzb.lua')
-rw-r--r-- | advtrains_interlocking/lzb.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/lzb.lua b/advtrains_interlocking/lzb.lua index 18fda55..14c1741 100644 --- a/advtrains_interlocking/lzb.lua +++ b/advtrains_interlocking/lzb.lua @@ -162,7 +162,7 @@ local function apply_control(id, train) local i = 1 while i<=#lzb.oncoming do - if lzb.oncoming[i].idx < train.index then + if lzb.oncoming[i].idx < train.index-0.5 then if not lzb.oncoming[i].npr then train.speed_restriction = lzb.oncoming[i].spd end |