From 1905d597056289bf03d3b69b3946d06ad40fdc1c Mon Sep 17 00:00:00 2001 From: atomaka Date: Tue, 20 Sep 2011 16:41:54 -0400 Subject: [PATCH] Fix previous bug involving viewing raid resets without using LoadAddOn() --- ChoreTracker.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 2bcaa12..5cc1ffe 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -85,8 +85,8 @@ function core:OnInitialize() end -- Get calendar events information - --OpenCalendar() - LoadAddOn('Blizzard_Calendar') + CalendarFrame_CloseEvent() + OpenCalendar() -- Reset data if necessary core:ResetInstances() @@ -231,6 +231,7 @@ function core:ResetValorPoints() end function core:GetNextVPReset() + OpenCalendar() -- We need to have access to the instance lockouts on the calendar. local currentCalendarSetting = GetCVar('calendarShowResets') SetCVar('calendarShowResets', 1)