From da56630d42fc0978298caf6af2ac64e90b78e15d Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 17 Feb 2009 20:31:06 +0000 Subject: [PATCH] Actually do the mini-map stuff when you hit the scan button. --- ARLFrame.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 0b5a772..82518b5 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -311,7 +311,6 @@ do -- Input: -- Output: - --/script AckisRecipeList:SetupMap() function addon:SetupMap() if (not TomTom) then @@ -2012,16 +2011,19 @@ do addon.Frame:Hide() -- If we have a different profession open we do a scan else - addon:AckisRecipeList_Command(false) + self:AckisRecipeList_Command(false) + self:SetupMap() currentProfession = cprof end else currentProfession = cprof -- If we click the scan button with the shift key down, we do a text dump if (IsShiftKeyDown()) then - addon:AckisRecipeList_Command(true) + self:AckisRecipeList_Command(true) + self:SetupMap() else - addon:AckisRecipeList_Command(false) + self:AckisRecipeList_Command(false) + self:SetupMap() end end -- 1.7.9.5