Quantcast

Attempt to fix proving ground errors.

Darthpred [11-02-13 - 21:49]
Attempt to fix proving ground errors.
Filename
ElvUI_SLE/modules/tooltip/tooltip.lua
diff --git a/ElvUI_SLE/modules/tooltip/tooltip.lua b/ElvUI_SLE/modules/tooltip/tooltip.lua
index e816e63..dac4aa7 100644
--- a/ElvUI_SLE/modules/tooltip/tooltip.lua
+++ b/ElvUI_SLE/modules/tooltip/tooltip.lua
@@ -46,6 +46,7 @@ function TT:GameTooltip_OnTooltipSetUnit(tt)
 	if(UnitIsPlayer(unit)) then
 		local text = GameTooltipTextLeft1:GetText()
 		local faction = UnitFactionGroup(unit)
+		if not faction then faction = "Neutral" end
 		GameTooltipTextLeft1:SetText("|T"..iconPath..faction..".blp:15:15:0:0:64:64:2:56:2:56|t "..text)
 	end
 end