raid: fix buff icon removal

This commit is contained in:
shagu
2016-11-24 19:23:55 +01:00
parent b96c9ff405
commit d8efc2270c
+5 -5
View File
@@ -158,13 +158,13 @@ pfUI:RegisterModule("raid", function ()
for pos, icon in pairs(active) do
pfUI.uf.raid:AddIcon(this, pos, icon)
end
-- hide unued icon slots
for pos=table.getn(active)+1, 6 do
pfUI.uf.raid:HideIcon(this, pos)
end
end
end
-- hide unued icon slots
for pos=table.getn(active)+1, 6 do
pfUI.uf.raid:HideIcon(this, pos)
end
end
_, class = UnitClass("raid"..unit.id)