mirror of
https://github.com/mt-mods/biome_lib.git
synced 2025-06-13 23:20:35 +02:00
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
|
||||
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)
|
||||
if DEBUG then
|
||||
|
Loading…
x
Reference in New Issue
Block a user