Quantcast

Drycode fix

Adrian L Lange [05-14-10 - 00:27]
Drycode fix
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 982a308..5ed7d3d 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -52,7 +52,7 @@ local function PostCreateAura(element, button)
 	button.icon:SetDrawLayer('ARTWORK')
 end

-local PostUpdateDebuff(element, unit, button, index)
+local function PostUpdateDebuff(element, unit, button, index)
 	if(UnitIsFriend('player', unit) or button.isPlayer) then
 		local _, _, _, _, type = UnitAura(unit, index, button.filter)
 		local color = DebuffTypeColor[type] or DebuffTypeColor.none