From 904b0b571be1e923882075b2dc624126f206d882 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Sat, 6 Dec 2014 12:04:27 +0100 Subject: [PATCH] Missing follower cache preload Signed-off-by: Alar of Daggerspine --- GarrisonCommander.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index 8895b12..7369b07 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -482,6 +482,8 @@ function addon:OnInitialized() -- Forcing refresh when needed without possibly disrupting Blizzard Logic self:SecureHook("GarrisonMissionPage_Close","RefreshMissions") -- Missino started self:SecureHook("GarrisonMissionFrame_HideCompleteMissions","RefreshMissions") -- Mission reward completed + self:CacheFollowers() + --@debug@ --Only Used for development self:RegisterEvent("GARRISON_MISSION_LIST_UPDATE",print) @@ -598,11 +600,6 @@ end function addon:CleanUp() collectgarbage("step",10) end -function addon:SetUp(full) - if (GMF.MissionTab.MissionList.showInProgress) then return end ---@end-debug@ - self:CacheFollowers() -end function addon:RefreshMissions() --@debug@ print("Refresh missions called") -- 1.7.9.5