small bugfix, make swp variable duration due to kara40 trinket
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user