aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 4e5ae90..3fc0de0 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -68,6 +68,8 @@ function atdump(t, intend)
str=minetest.pos_to_string(t)
elseif t.p and t.s then -- interlocking sigd
str="S["..minetest.pos_to_string(t.p).."/"..t.s.."]"
+ elseif advtrains.lines and t.s and t.m then -- RwT
+ str=advtrains.lines.rwt.to_string(t)
else
str="{"
local intd = (intend or "") .. " "
@@ -417,7 +419,9 @@ minetest.register_globalstep(function(dtime_mt)
atlatc.mainloop_stepcode(dtime)
atlatc.interrupt.mainloop(dtime)
end
-
+ if advtrains.lines then
+ advtrains.lines.step(dtime)
+ end
--trigger a save when necessary
save_timer=save_timer-dtime