Prints now run based on debug level, file struct standard

This commit is contained in:
MrNewb committed 2025-02-06 04:16:00 -05:00
1 parent b53299e05e
commit 4070458c54
23 files changed
+176 -136

No files matched your search

+3 -1
View File
@@ -11,7 +11,9 @@ function Require(modulePath, resourceName)
local id = resourceName .. ":" .. modulePath
if loadedModules[id] then
print("Returning cached module [" .. id .. "]")
if BridgeSharedConfig.DebugLevel ~= 0 then
print("Returning cached module [" .. id .. "]")
end
return loadedModules[id]
end