Prints now run based on debug level, file struct standard
This commit is contained in:
1 parent
b53299e05e
commit
4070458c54
23 files changed
+176
-136
No files matched your search
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user