fix
Steven Jackson [07-22-14 - 05:25]
diff --git a/Interface/AddOns/SVUI/packages/tip/SVTip.lua b/Interface/AddOns/SVUI/packages/tip/SVTip.lua
index 1e50af4..eaded2b 100644
--- a/Interface/AddOns/SVUI/packages/tip/SVTip.lua
+++ b/Interface/AddOns/SVUI/packages/tip/SVTip.lua
@@ -446,13 +446,11 @@ local _hook_GameTooltip_OnTooltipSetUnit = function(self)
end
else
if UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) then
- colors = TAPPED_COLOR
- self.SuperBorder:SetToneColor(colors.r, colors.g, colors.b)
+ colors = TAPPED_COLOR
else
colors = FACTION_BAR_COLORS[UnitReaction(unit, "player")]
- self.SuperBorder:SetToneColor(colors.r, colors.g, colors.b)
end
-
+ if(colors) then self.SuperBorder:SetToneColor(colors.r, colors.g, colors.b) end
lvlLine = tiplevel(self, 2)
if(lvlLine) then