Quantcast

v7.2.5.3 - Tooltip scan fixes

Pawel [07-24-17 - 22:28]
v7.2.5.3 - Tooltip scan fixes
Filename
MaxDps.toc
helper.lua
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];