1
0
Fork 0

Load the valor point reset date from the calendar as soon as possible.

This commit is contained in:
Andrew Tomaka 2011-08-31 11:20:09 -04:00
parent af150e321f
commit 94a759b92d

View file

@ -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()
@ -247,9 +249,7 @@ function core:GetNextVPReset()
resetDate.hour = resetTime.hour
resetDate.min = resetTime.min
resetDate.sec = resetTime.sec
return time(resetDate)
else
print('resetDate not set')
end
end