make debug mode a proper minetest.conf setting

This commit is contained in:
Vanessa Dannenberg 2021-04-01 05:02:07 -04:00
parent 9b7705c380
commit f2a807b814
1 changed files with 1 additions and 1 deletions

View File

@ -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