1
0
Fork 0

Fix previous bug involving viewing raid resets without using LoadAddOn()

This commit is contained in:
Andrew Tomaka 2011-09-20 16:41:54 -04:00
parent c17d902b62
commit 1905d59705
1 changed files with 3 additions and 2 deletions

View File

@ -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)