From be77ea1067575f5d015a176fc263f8b8a9fd8d48 Mon Sep 17 00:00:00 2001 From: Steven Jackson Date: Tue, 22 Jul 2014 00:25:57 -0500 Subject: [PATCH] fix --- Interface/AddOns/SVUI/packages/tip/SVTip.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 1.7.9.5