Quantcast

Ok now I think that bug is fixed. Hide the tooltip and return if we get double lines.

Scott Sibley [09-17-10 - 04:57]
Ok now I think that bug is fixed. Hide the tooltip and return if we get double lines.
Filename
Modules/UnitTooltip.lua
diff --git a/Modules/UnitTooltip.lua b/Modules/UnitTooltip.lua
index e858a26..ef5d893 100644
--- a/Modules/UnitTooltip.lua
+++ b/Modules/UnitTooltip.lua
@@ -1059,6 +1059,8 @@ function mod:SetUnit()
 		self.timer:Start()
 	end

+	if GameTooltip:NumLines() > mod.NUM_LINES then GameTooltip:Hide(); return end
+
 	self:RefixEndLines()

 	local hide = 1