diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 4609652..faa401f 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -55,9 +55,14 @@ function core:OnEnable() if level == 85 then self:RegisterEvent('UPDATE_INSTANCE_INFO', 'UpdateChores') self:RegisterEvent('CALENDAR_UPDATE_EVENT_LIST', 'UpdateChores') + self:RegisterEvent('CHAT_MSG_CURRENCY', 'UpdateChores') + self:RegisterEvent('PLAYER_LEAVING_WORLD', 'UpdateChores') + end LoadAddOn("Blizzard_Calendar") + + core:CreateChoreFrame() for class,color in pairs(RAID_CLASS_COLORS) do @@ -84,8 +89,6 @@ function core:OnEnable() core:ResetValorPoints() end - - function core:ViewChores() end