aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_interlocking')
-rw-r--r--advtrains_interlocking/approach.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/advtrains_interlocking/approach.lua b/advtrains_interlocking/approach.lua
index 14a31ce..9313128 100644
--- a/advtrains_interlocking/approach.lua
+++ b/advtrains_interlocking/approach.lua
@@ -21,6 +21,10 @@ local function get_over_function(speed, shunt)
-- Set train 1 index backward. Hope this does not lead to bugs...
--train.index = index - 0.5
train.speed_restriction = 0
+
+ --TODO temporary
+ advtrains.drb_dump(id)
+ error("Debug: "..id.." triggered LZB-0")
else
train.speed_restriction = speed
train.is_shunt = shunt