diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 15:41:53 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 15:41:53 +0200 |
commit | 54eca4e736005604ac57e63424533e7568e589b9 (patch) | |
tree | 8fa6b9298aec10ea7ef88ee144fa59cac6780107 /share | |
parent | 3da05a09b5cf5160a897e8c65b9ce60f19157946 (diff) | |
download | minetest-54eca4e736005604ac57e63424533e7568e589b9.tar.gz minetest-54eca4e736005604ac57e63424533e7568e589b9.tar.bz2 minetest-54eca4e736005604ac57e63424533e7568e589b9.zip |
Redirect Lua print to minetest.debug
Diffstat (limited to 'share')
-rw-r--r-- | share/server/builtin.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/server/builtin.lua b/share/server/builtin.lua index 351cf3bb0..2ec678b70 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) |