From acf621e45354aebf7ce589eb37a22e86377968af Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 15 Nov 2013 19:55:07 +0000 Subject: [PATCH] Fix tooltip display of a value instead of a spell on mouseover. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1160 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleIcone.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleIcone.lua b/OvaleIcone.lua index 7c1e43a..8ead071 100644 --- a/OvaleIcone.lua +++ b/OvaleIcone.lua @@ -247,7 +247,7 @@ function OvaleIcone_OnEnter(self) if self.spellId then GameTooltip:AddLine(OvaleSpellBook:GetSpellName(self.spellId), 0.5, 1, 0.75) elseif self.value then - local value = (value < math.huge) and tostring(value) or "infinity" + local value = (self.value < math.huge) and tostring(self.value) or "infinity" GameTooltip:AddLine(value, 0.5, 1, 0.75) end if next(Ovale.casesACocher) or next(Ovale.listes) then -- 1.7.9.5