Quantcast

Change the order of how we auto scan trainers so that the missing acquire has priority on the text window. There you go Torhal.

ackis [06-08-09 - 21:47]
Change the order of how we auto scan trainers so that the missing acquire has priority on the text window.  There you go Torhal.
Filename
ARLDatamine.lua
AckisRecipeList.lua
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 9c31de2..217d004 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -1566,6 +1566,7 @@ do
 	-- @param autoscan True when autoscan is enabled in preferences, it will surpress output letting you know when a scan has occured.
 	-- @return Does a comparison of the information in your internal ARL database, and those items which are available on the trainer.  Compares the skill levels between the two.
 	function addon:ScanSkillLevelData(autoscan)
+
 		if (IsTradeskillTrainer()) then	-- Are we at a trade skill trainer?
 			local recipelist = LoadRecipe()	-- Get internal database

@@ -2009,6 +2010,7 @@ function addon:TooltipScanRecipe(spellid)

 		-- If a link exists, we'll scan it.
 		if (link) then
+
 			-- Load the tooltip
 			ARLDatamineTT:SetHyperlink(link)

diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 7351199..3312f85 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -363,8 +363,8 @@ end

 function addon:TRAINER_SHOW()

-	self:ScanTrainerData(true)
 	self:ScanSkillLevelData(true)
+	self:ScanTrainerData(true)

 end