From 6508dc1626c2538b292a517144e7ab29157e92f7 Mon Sep 17 00:00:00 2001 From: Pawel Date: Tue, 25 Jul 2017 00:28:19 +0200 Subject: [PATCH] v7.2.5.3 - Tooltip scan fixes --- MaxDps.toc | 2 +- helper.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MaxDps.toc b/MaxDps.toc index 982ea48..564235b 100644 --- a/MaxDps.toc +++ b/MaxDps.toc @@ -1,6 +1,6 @@ ## Title: MaxDps ## Notes: Rotation helper framework. -## Version: 7.2.5.2 +## Version: 7.2.5.3 ## Author: Kaminaris ## Interface: 70200 ## SavedVariables: MaxDpsOptions diff --git a/helper.lua b/helper.lua index 55e3f7d..fb5691b 100644 --- a/helper.lua +++ b/helper.lua @@ -175,11 +175,11 @@ end function MaxDps:ExtractTooltip(spell, pattern) local _pattern = gsub(pattern, "%%s", "([%%d%.,]+)"); - if not TDSpellTooltip then + if not MaxDpsSpellTooltip then CreateFrame('GameTooltip', 'MaxDpsSpellTooltip', UIParent, 'GameTooltipTemplate'); - TDSpellTooltip:SetOwner(UIParent, "ANCHOR_NONE") + MaxDpsSpellTooltip:SetOwner(UIParent, "ANCHOR_NONE") end - TDSpellTooltip:SetSpellByID(spell); + MaxDpsSpellTooltip:SetSpellByID(spell); for i = 2, 4 do local line = _G['MaxDpsSpellTooltipTextLeft' .. i]; -- 1.7.9.5