From 23654916cf39a783d724da05eb9b0c998ab72d82 Mon Sep 17 00:00:00 2001 From: Michieal Date: Fri, 21 Oct 2022 23:31:00 +0000 Subject: [PATCH] Update DEBUG to use the global variable. Added in a debug variable entry into settings. This commit uses that variable for all of the Signs API's debugging needs. --- mods/ITEMS/mcl_signs/signs_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_signs/signs_api.lua b/mods/ITEMS/mcl_signs/signs_api.lua index 94f71de13..8b42e9ce2 100644 --- a/mods/ITEMS/mcl_signs/signs_api.lua +++ b/mods/ITEMS/mcl_signs/signs_api.lua @@ -4,7 +4,7 @@ --- DateTime: 10/14/22 4:05 PM --- -local DEBUG = false -- special debug setting. +local DEBUG = minetest.settings:get_bool("mcl_logging_mcl_signs",true) -- special debug setting. local table = table -- copied from the original signs init file. if DEBUG then