small bugfix, make swp variable duration due to kara40 trinket

This commit is contained in:
pepopo978
2025-04-14 12:23:38 -07:00
parent c82047b142
commit 0203f0a06c
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -616,9 +616,7 @@ ui:SetScript("OnUpdate", function()
shouldDisplay = Cursive:ShouldDisplayGuid(guid)
shouldDisplayGuids[guid] = shouldDisplay
if not shouldDisplay then
CheckForCleanup(guid, time)
else
if shouldDisplay then
numDisplayable = numDisplayable + 1
end
else
@@ -644,6 +642,8 @@ ui:SetScript("OnUpdate", function()
thirdMaxHp = maxHp
thirdMaxGuid = guid
end
else
CheckForCleanup(guid, time)
end
end