diff --git a/ChoreTracker.lua b/ChoreTracker.lua index f1148ae..b461bc6 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -63,7 +63,7 @@ function core:OnInitialize() if level == 85 then self:RegisterEvent('CALENDAR_UPDATE_EVENT_LIST','GetNextVPReset') self:RegisterEvent('UPDATE_INSTANCE_INFO', 'UpdateChores') - self:RegisterEvent('CHAT_MSG_CURRENCY', 'UpdateChores') + self:RegisterEvent('CHAT_MSG_CURRENCY', 'PrepareUpdate') end -- Get calendar events information @@ -155,6 +155,10 @@ function core:OnEnable() ACD:AddToBlizOptions('ChoreTracker', 'ChoreTracker') end +function core:PrepareUpdate() + GetSavedInstanceInfo() +end + function core:UpdateChores() -- Reset data if necessary core:ResetInstances()