From f2a807b8143dd10e4b1840955c1d1cc700446fe3 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Thu, 1 Apr 2021 05:02:07 -0400 Subject: [PATCH] make debug mode a proper minetest.conf setting --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 0c9f93f..a536863 100644 --- a/init.lua +++ b/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