from retail

This commit is contained in:
NoM0Re
2025-01-28 20:40:12 +01:00
parent 8cc8d5ea62
commit fb09181ee7
3 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -1071,7 +1071,8 @@ local function AddFakeInformation(data, triggernum, state, eventData)
state.progressType = "timed"
end
if state.progressType == "timed" then
if state.expirationTime and state.expirationTime ~= math.huge and state.expirationTime > GetTime() then
local expirationTime = state.expirationTime
if expirationTime and type(expirationTime) == "number" and expirationTime ~= math.huge and expirationTime > GetTime() then
return
end
state.progressType = "timed"