mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
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:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user