We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af49033 commit 5b518edCopy full SHA for 5b518ed
builtin/builtin.lua
@@ -10,6 +10,12 @@ print = minetest.debug
10
math.randomseed(os.time())
11
os.setlocale("C", "numeric")
12
13
+local errorfct = error
14
+error = function(text)
15
+ print(debug.traceback(""))
16
+ errorfct(text)
17
+end
18
+
19
-- Load other files
20
local modpath = minetest.get_modpath("__builtin")
21
dofile(modpath.."/serialize.lua")
builtin/mainmenu.lua
@@ -2,6 +2,12 @@ print = engine.debug
2
3
4
5
6
7
8
9
local scriptpath = engine.get_scriptdir()
mt_color_grey = "#AAAAAA"
0 commit comments