aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorywang <yw05@forksworld.de>2019-12-16 20:16:09 +0100
committerywang <yw05@forksworld.de>2019-12-16 20:16:09 +0100
commitf4e3592b5bb6a1a7ad7ccc4fcceec9185fa9ea8a (patch)
tree9c1f95da6cf894010275caa7dfbd4ba6f215ecdd
parenta2da32b536646085fdbf0a4d0714d49171093726 (diff)
downloadadvtrains-f4e3592b5bb6a1a7ad7ccc4fcceec9185fa9ea8a.tar.gz
advtrains-f4e3592b5bb6a1a7ad7ccc4fcceec9185fa9ea8a.tar.bz2
advtrains-f4e3592b5bb6a1a7ad7ccc4fcceec9185fa9ea8a.zip
Remove dtime limiting
-rw-r--r--advtrains/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index c5604fd..d3866ce 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -459,6 +459,7 @@ minetest.register_globalstep(function(dtime_mt)
advtrains.load()
end
+ --[[
local dtime
if GENERATE_ATRICIFIAL_LAG then
dtime = 0.2
@@ -476,6 +477,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)