make debug mode a proper minetest.conf setting
This commit is contained in:
parent
9b7705c380
commit
f2a807b814
2
init.lua
2
init.lua
@ -45,7 +45,7 @@ else
|
|||||||
end
|
end
|
||||||
biome_lib.intllib = S
|
biome_lib.intllib = S
|
||||||
|
|
||||||
local DEBUG = false --... except if you want to spam the console with debugging info :-)
|
local DEBUG = minetest.settings:get_bool("biome_lib_debug", false)
|
||||||
|
|
||||||
function biome_lib:dbg(msg)
|
function biome_lib:dbg(msg)
|
||||||
if DEBUG then
|
if DEBUG then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user