diff options
author | orwell96 <orwell@bleipb.de> | 2018-09-14 21:36:59 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-09-14 21:36:59 +0200 |
commit | 2596866b7488762c66547fb53db0d8a5eac972cc (patch) | |
tree | a7ab44a6c66c828721f35d4eb7baf66fbdb9910a /advtrains/init.lua | |
parent | d837e7e5e9d2d6de7903e91b3efc36e0dd032b92 (diff) | |
download | advtrains-2596866b7488762c66547fb53db0d8a5eac972cc.tar.gz advtrains-2596866b7488762c66547fb53db0d8a5eac972cc.tar.bz2 advtrains-2596866b7488762c66547fb53db0d8a5eac972cc.zip |
Add interlocking guide/manual, silence debug outputs
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r-- | advtrains/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua index 92f8a9c..a02b377 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -108,9 +108,9 @@ sid=function(id) if id then return string.sub(id, -6) end end --ONLY use this function for temporary debugging. for consistent debug prints use atprint atdebug=function(t, ...) - local text=advtrains.print_concat_table({t, ...}) - minetest.log("action", "[advtrains]"..text) - minetest.chat_send_all("[advtrains]"..text) +-- local text=advtrains.print_concat_table({t, ...}) +-- minetest.log("action", "[advtrains]"..text) +-- minetest.chat_send_all("[advtrains]"..text) end if minetest.settings:get_bool("advtrains_enable_debugging") then |