Skip to content

Commit 5c1aaf4

Browse files
committed
[Retail][Statuses\DeBuffIcons] Only sated/exhaustion setting change
1 parent 61c0752 commit 5c1aaf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Statuses/DeBuffIcons.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,9 @@ function PlexusDeBuffIcons:UNIT_AURA(_, unitid, updatedAuras)
535535
local auradata = C_UnitAuras.GetUnitAuras(unitid, filter, PlexusDeBuffIcons.db.profile.iconnum, Enum.UnitAuraSortRule.ExpirationOnly, Enum.UnitAuraSortDirection.Normal) or {}
536536
UnitAuraInstanceID[guid] = {}
537537
for _,aura in pairs(auradata) do
538-
if not settings.hideSated or (settings.hideSated and not Plexus:issecretvalue(aura.spellId) and not lustDebuffs[aura.spellId]) then
539-
UnitAuraInstanceID[guid][aura.auraInstanceID] = aura
538+
UnitAuraInstanceID[guid][aura.auraInstanceID] = aura
539+
if settings.hideSated and not Plexus:issecretvalue(aura.spellId) and lustDebuffs[aura.spellId] then
540+
UnitAuraInstanceID[guid][aura.auraInstanceID] = nil
540541
end
541542
end
542543
for _,v in pairs(PlexusFrame.registeredFrames) do

0 commit comments

Comments
 (0)