From 54eca4e736005604ac57e63424533e7568e589b9 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 11 Mar 2012 15:41:53 +0200 Subject: Redirect Lua print to minetest.debug --- share/server/builtin.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'share') 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) -- cgit v1.2.3