aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index dcf2524..c535668 100644
--- a/init.lua
+++ b/init.lua
@@ -4,10 +4,10 @@ advtrains={}
advtrains.modpath = minetest.get_modpath("advtrains")
-print=function(text)
- minetest.log("action", tostring(text) or "<non-string>")
-end
-
+--print=function(text)
+-- minetest.log("action", tostring(text) or "<non-string>")
+--end
+print = function(t) minetest.log("action", t) minetest.chat_send_all(t) end
dofile(advtrains.modpath.."/helpers.lua");
dofile(advtrains.modpath.."/debugitems.lua");