aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_interlocking')
-rw-r--r--advtrains_interlocking/signal_api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_interlocking/signal_api.lua b/advtrains_interlocking/signal_api.lua
index 6704e18..d43125b 100644
--- a/advtrains_interlocking/signal_api.lua
+++ b/advtrains_interlocking/signal_api.lua
@@ -227,9 +227,9 @@ function advtrains.interlocking.signal_on_aspect_changed(pos)
local tns = advtrains.occ.get_trains_over(ipos)
for id, sidx in pairs(tns) do
local train = advtrains.trains[id]
- if train.index <= sidx then
+ --if train.index <= sidx then
advtrains.interlocking.lzb_invalidate(train)
- end
+ --end
end
end