1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-11-13 22:20:21 +01:00

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

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