make cache timeout optional

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

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