From 2b688b9bae223b054568daf32594df40f469ffba Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 9 Mar 2010 05:03:51 -0500 Subject: [PATCH] Moved assignment of reputation levels from addon:OnEnable() to addon:Scan() - fixes tickets 920 and 933. --- ARL.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ARL.lua b/ARL.lua index 96015b1..c119af4 100644 --- a/ARL.lua +++ b/ARL.lua @@ -634,12 +634,6 @@ function addon:OnEnable() Player["Class"] = select(2, UnitClass("player")) ------------------------------------------------------------------------------- - -- Get the player's reputation levels. - ------------------------------------------------------------------------------- - Player["Reputation"] = {} - Player:SetReputationLevels() - - ------------------------------------------------------------------------------- -- Get the player's professions. ------------------------------------------------------------------------------- Player.professions = { @@ -1645,6 +1639,12 @@ do self:UpdateFilters() Player:MarkExclusions() + ------------------------------------------------------------------------------- + -- Get the player's reputation levels. + ------------------------------------------------------------------------------- + Player["Reputation"] = Player["Reputation"] or {} + Player:SetReputationLevels() + if textdump then self:DisplayTextDump(recipe_list, Player.current_prof) else -- 1.7.9.5