make cache timeout optional

This commit is contained in:
Jim Shield committed 2025-07-09 15:09:14 +01:00
1 parent fae099fd93
commit 7f10c394de
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -369,6 +369,7 @@ for script, data in pairs(invWeightTable) do
if checkExists(script) then
if script == Exports.QBInv and GetResourceState(Exports.JPRInv):find("start") then goto skip end
while GetResourceState(script) ~= "started" do Wait(100) print("Waiting for script start") end
local attempts = data.fallback or { data }
local lookup, used, err