From d8efc2270c1e399e7d26e086492186d32e483d62 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 24 Nov 2016 19:23:55 +0100 Subject: [PATCH] raid: fix buff icon removal --- modules/raid.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/raid.lua b/modules/raid.lua index ff943756..344c0b40 100644 --- a/modules/raid.lua +++ b/modules/raid.lua @@ -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)