aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/builtin.lua6
-rw-r--r--builtin/mainmenu.lua6
2 files changed, 0 insertions, 12 deletions
diff --git a/builtin/builtin.lua b/builtin/builtin.lua
index dc428220a..a51264618 100644
--- a/builtin/builtin.lua
+++ b/builtin/builtin.lua
@@ -10,12 +10,6 @@ print = minetest.debug
math.randomseed(os.time())
os.setlocale("C", "numeric")
-local errorfct = error
-error = function(text)
- print(debug.traceback(""))
- errorfct(text)
-end
-
-- Load other files
local modpath = minetest.get_modpath("__builtin")
dofile(modpath.."/serialize.lua")
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 4cd1503da..67e0113bc 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -2,12 +2,6 @@ print = engine.debug
math.randomseed(os.time())
os.setlocale("C", "numeric")
-local errorfct = error
-error = function(text)
- print(debug.traceback(""))
- errorfct(text)
-end
-
local scriptpath = engine.get_scriptdir()
mt_color_grey = "#AAAAAA"