From: Perttu Ahola Date: Sun, 11 Mar 2012 13:41:53 +0000 (+0200) Subject: Redirect Lua print to minetest.debug X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=54eca4e736005604ac57e63424533e7568e589b9;p=zefram%2Fminetest%2Fminetest_engine.git Redirect Lua print to minetest.debug --- diff --git a/share/server/builtin.lua b/share/server/builtin.lua index 351cf3bb..2ec678b7 100644 --- a/share/server/builtin.lua +++ b/share/server/builtin.lua @@ -5,6 +5,16 @@ -- before loading and running any mods. -- +-- +-- Override some Lua library functions +-- + +print = minetest.debug + +-- +-- +-- + function basic_dump2(o) if type(o) == "number" then return tostring(o)