Load the valor point reset date from the calendar as soon as possible.
This commit is contained in:
parent
af150e321f
commit
94a759b92d
1 changed files with 3 additions and 3 deletions
|
@ -133,6 +133,8 @@ function core:OnEnable()
|
|||
|
||||
self:RegisterChatCommand('ct', 'ViewChores');
|
||||
self:RegisterEvent('UPDATE_INSTANCE_INFO', 'UpdateChores')
|
||||
self:RegisterEvent('CALENDAR_UPDATE_EVENT_LIST', 'UpdateChores')
|
||||
LoadAddOn("Blizzard_Calendar")
|
||||
end
|
||||
|
||||
function core:ViewChores()
|
||||
|
@ -249,7 +251,5 @@ function core:GetNextVPReset()
|
|||
resetDate.sec = resetTime.sec
|
||||
|
||||
return time(resetDate)
|
||||
else
|
||||
print('resetDate not set')
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue