Fix previous bug involving viewing raid resets without using LoadAddOn()
This commit is contained in:
parent
c17d902b62
commit
1905d59705
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue