mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue