aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authorywang <yw05@forksworld.de>2019-12-16 20:16:09 +0100
committerywang <yw05@forksworld.de>2020-04-12 16:07:16 +0200
commitcaf53fbafb751eb25983ac9a31882bfbb7f47e58 (patch)
tree94fcdaba39cd54c1b6fe40e4f694a68d0ce0f373 /advtrains
parent797544564eb6224b8ab3b12b33b01a66942d0101 (diff)
downloadadvtrains-caf53fbafb751eb25983ac9a31882bfbb7f47e58.tar.gz
advtrains-caf53fbafb751eb25983ac9a31882bfbb7f47e58.tar.bz2
advtrains-caf53fbafb751eb25983ac9a31882bfbb7f47e58.zip
Remove dtime limiting
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/init.lua3
1 files changed, 3 insertions, 0 deletions
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)