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.
This commit is contained in:
Michieal 2022-10-21 23:31:00 +00:00
parent 78c7ec6121
commit 23654916cf

@ -4,7 +4,7 @@
--- DateTime: 10/14/22 4:05 PM --- 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. local table = table -- copied from the original signs init file.
if DEBUG then if DEBUG then