1
0
Fork 0

Added a couple events to update tooltip faster.

This commit is contained in:
Andrew Tomaka 2011-09-06 15:54:46 -04:00
parent e9bde81013
commit 23218fff14

View file

@ -55,9 +55,14 @@ function core:OnEnable()
if level == 85 then if level == 85 then
self:RegisterEvent('UPDATE_INSTANCE_INFO', 'UpdateChores') self:RegisterEvent('UPDATE_INSTANCE_INFO', 'UpdateChores')
self:RegisterEvent('CALENDAR_UPDATE_EVENT_LIST', 'UpdateChores') self:RegisterEvent('CALENDAR_UPDATE_EVENT_LIST', 'UpdateChores')
self:RegisterEvent('CHAT_MSG_CURRENCY', 'UpdateChores')
self:RegisterEvent('PLAYER_LEAVING_WORLD', 'UpdateChores')
end end
LoadAddOn("Blizzard_Calendar") LoadAddOn("Blizzard_Calendar")
core:CreateChoreFrame() core:CreateChoreFrame()
for class,color in pairs(RAID_CLASS_COLORS) do for class,color in pairs(RAID_CLASS_COLORS) do
@ -84,8 +89,6 @@ function core:OnEnable()
core:ResetValorPoints() core:ResetValorPoints()
end end
function core:ViewChores() function core:ViewChores()
end end