aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/approach.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_interlocking/approach.lua')
-rw-r--r--advtrains_interlocking/approach.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/approach.lua b/advtrains_interlocking/approach.lua
index 630ebfe..3fe72f6 100644
--- a/advtrains_interlocking/approach.lua
+++ b/advtrains_interlocking/approach.lua
@@ -105,7 +105,7 @@ advtrains.tnc_register_on_approach(function(pos, id, train, index, lzbdata)
local udata = {signal_pos = spos}
local callback = get_over_function(lspd, travsht)
- advtrains.lzb_add_checkpoint(train, index, lspd, callback)
+ advtrains.lzb_add_checkpoint(train, index, lspd, callback, udata)
end
lzbdata.travsht = travsht
lzbdata.travspd = travspd