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 end
-- Get calendar events information -- Get calendar events information
--OpenCalendar() CalendarFrame_CloseEvent()
LoadAddOn('Blizzard_Calendar') OpenCalendar()
-- Reset data if necessary -- Reset data if necessary
core:ResetInstances() core:ResetInstances()
@ -231,6 +231,7 @@ function core:ResetValorPoints()
end end
function core:GetNextVPReset() function core:GetNextVPReset()
OpenCalendar()
-- We need to have access to the instance lockouts on the calendar. -- We need to have access to the instance lockouts on the calendar.
local currentCalendarSetting = GetCVar('calendarShowResets') local currentCalendarSetting = GetCVar('calendarShowResets')
SetCVar('calendarShowResets', 1) SetCVar('calendarShowResets', 1)