From caf53fbafb751eb25983ac9a31882bfbb7f47e58 Mon Sep 17 00:00:00 2001 From: ywang Date: Mon, 16 Dec 2019 20:16:09 +0100 Subject: Remove dtime limiting --- advtrains/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/advtrains/init.lua b/advtrains/init.lua index 99e81ed..5a55312 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -477,6 +477,7 @@ minetest.register_globalstep(function(dtime_mt) advtrains.load() end + --[[ local dtime if GENERATE_ATRICIFIAL_LAG then dtime = 0.2 @@ -494,6 +495,8 @@ minetest.register_globalstep(function(dtime_mt) end end + ]] + local dtime = dtime_mt advtrains.mainloop_trainlogic(dtime) if advtrains_itm_mainloop then advtrains_itm_mainloop(dtime) -- cgit v1.2.3