projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da05a0
)
Redirect Lua print to minetest.debug
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 11 Mar 2012 13:41:53 +0000
(15:41 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 11 Mar 2012 13:41:53 +0000
(15:41 +0200)
share/server/builtin.lua
patch
|
blob
|
history
diff --git
a/share/server/builtin.lua
b/share/server/builtin.lua
index 351cf3bb0590a0e145fbf529cec388f54d7bdfb7..2ec678b70f4548a586029ff851bb567c70d3ecb3 100644
(file)
--- 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)