Reworked some stuff for MP
This commit is contained in:
15
media/lua/shared/TOC/Debug.lua
Normal file
15
media/lua/shared/TOC/Debug.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
TOC_DEBUG = {}
|
||||
TOC_DEBUG.disablePaneMod = false
|
||||
|
||||
|
||||
function TOC_DEBUG.togglePaneMod()
|
||||
TOC_DEBUG.disablePaneMod = not TOC_DEBUG.disablePaneMod
|
||||
end
|
||||
|
||||
---comment
|
||||
---@param string string
|
||||
function TOC_DEBUG.print(string)
|
||||
if isDebugEnabled() then
|
||||
print("TOC: " .. string)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user