mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +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
|
||||
---
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue