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
|
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)
|
||||||
|
|
Loading…
Reference in a new issue