X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/d51d314274936814dec7d124c9ec5e5165666918..fdbd89d788a6442f2fe57abb8f2321bd6c452889:/OmaUF/Auras.lua diff --git a/OmaUF/Auras.lua b/OmaUF/Auras.lua index 95ef2c6..499bd77 100644 --- a/OmaUF/Auras.lua +++ b/OmaUF/Auras.lua @@ -77,7 +77,6 @@ end function M.UpdateAuras(frame, unit) local auras = frame.auras; - if not auras then return end for _, aura in ipairs(auras) do if not aura:IsShown() then break end aura:Hide(); @@ -89,6 +88,7 @@ function M.UpdateAuras(frame, unit) while true do _, _, icon, count, _, duration, expires, caster, _, _, id = UnitAura(unit, i, filter); if not id or not auras[pos] then break end + -- aura filter self-applied, player-applied, list of important auras TODO local aura = auras[pos]; aura.icon:SetTexture(icon); aura.index = i;