Small patch

This commit is contained in:
MrNewb committed 2025-05-05 14:57:02 -04:00
1 parent 162b28075a
commit 20b7b976a8
2 files changed
+4 -4

No files matched your search

+1
View File
@@ -71,6 +71,7 @@ files {
'lib/**/client/*.lua', 'lib/**/client/*.lua',
'lib/**/shared/*.lua', 'lib/**/shared/*.lua',
'lib/**/server/*.lua', 'lib/**/server/*.lua',
'settings/*.lua',
'lib/init.lua', 'lib/init.lua',
} }
+3 -4
View File
@@ -1,5 +1,5 @@
local Cache = {} local Cache = {}
local Config = require("lib/settings/clientConfig.lua") local Config = Require("settings/sharedConfig.lua")
local max = 5000 local max = 5000
local CreateThread = CreateThread local CreateThread = CreateThread
local Wait = Wait local Wait = Wait
@@ -10,9 +10,8 @@ Cache.Caches = Cache.Caches or {}
Cache.LoopRunning = Cache.LoopRunning or false Cache.LoopRunning = Cache.LoopRunning or false
local function print(...) local function print(...)
if Config.Debug then if Config.DebugLevel == 0 then return end
print("^2[Cache]^0", ...) print("^2[Cache]^0", ...)
end
end end
local function StartLoop() local function StartLoop()