diff OptionView.lua @ 59:b7ee4a10eaf0

Initialize the Cyborg heads as mode 1. Still display the minimap button tooltip until a mode change has been detected.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Fri, 03 May 2013 23:24:48 +0000
parents 72adde883f46
children c22f1accec43
line wrap: on
line diff
--- a/OptionView.lua	Fri May 03 23:24:42 2013 +0000
+++ b/OptionView.lua	Fri May 03 23:24:48 2013 +0000
@@ -59,8 +59,7 @@
 end
 
 function CyborgMMO_ShowProfileTooltip(self)
-	local red,green,blue = self:GetVertexColor()
-	if red == 0 and green == 0 and blue == 0 then
+	if not CyborgMMO_ModeDetected then
 		GameTooltip:SetOwner(self:GetParent(), "ANCHOR_RIGHT")
 		GameTooltip:SetText(CyborgMMO_StringTable["CyborgMMO_ToolTipLine1"], nil, nil, nil, nil, 1)
 		GameTooltip:AddLine(nil, 0.8, 1.0, 0.8)