refactor: cleaning

This commit is contained in:
ZioPao
2025-09-29 01:04:08 +02:00
parent a511ac777a
commit 89a28e846a
5 changed files with 25 additions and 35 deletions

View File

@@ -13,10 +13,12 @@ end
---Print debug
---@param string string
function TOC_DEBUG.print(string)
--if isDebugEnabled() then
local runningFile = TOC_DEBUG.getRunningFile()
print("[TOC]" .. "[" .. runningFile .. "] " .. tostring(string))
--end
if isDebugEnabled() then
local runningFile = TOC_DEBUG.getRunningFile()
print("[TOC]" .. "[" .. runningFile .. "] " .. tostring(string))
else
print(string)
end
end
---Horrendous but I don't really care about performance for this