Quantcast

If you're scanning runeforging, your skill level is now your player level. Fix for ticket 1081.

John Pasula [03-25-11 - 20:59]
If you're scanning runeforging, your skill level is now your player level.  Fix for ticket 1081.
Filename
Core.lua
diff --git a/Core.lua b/Core.lua
index 7670506..e7c89aa 100644
--- a/Core.lua
+++ b/Core.lua
@@ -970,6 +970,10 @@ do
 	function addon:Scan(textdump, is_refresh)
 		local current_prof, prof_level = _G.GetTradeSkillLine()

+		if current_prof == private.runeforging_name then
+			prof_level = _G.UnitLevel("player")
+		end
+
 		-- Bail if we haven't opened a tradeskill frame.
 		if current_prof == "UNKNOWN" then
 			self:Print(L["OpenTradeSkillWindow"])