aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2017-11-23 17:00:39 +0100
committerorwell96 <orwell@bleipb.de>2017-11-23 17:00:39 +0100
commitd78d07589d31db62167eafafb36b9e8c0468c6d1 (patch)
treeabc9647e10c9f27d311b179a6d02871c1658097c /advtrains/init.lua
parent5fc6cc7f5b7125e470e0e24e4da639f868476dc3 (diff)
downloadadvtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.tar.gz
advtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.tar.bz2
advtrains-d78d07589d31db62167eafafb36b9e8c0468c6d1.zip
Add modifiable wagon extents
This will be required for advcarts
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 8991025..5fdb57d 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -101,7 +101,7 @@ sid=function(id) if id then return string.sub(id, -6) end end
if minetest.settings:get_bool("advtrains_enable_debugging") then
atprint=function(t, ...)
- local context=advtrains.atprint_context_tid
+ local context=advtrains.atprint_context_tid or ""
if not context then return end
local text=advtrains.print_concat_table({t, ...})
advtrains.drb_record(context, text)
@@ -303,7 +303,7 @@ advtrains.mainloop_runcnt=0
minetest.register_globalstep(function(dtime_mt)
return advtrains.pcall(function()
advtrains.mainloop_runcnt=advtrains.mainloop_runcnt+1
- atprint("Running the main loop, runcnt",advtrains.mainloop_runcnt)
+ --atprint("Running the main loop, runcnt",advtrains.mainloop_runcnt)
--call load once. see advtrains.load() comment
if not init_load then
advtrains.load()