- fixed a bug where custom counters were not getting reset on target change or player death. this could cause an issue where the counter would not update when it should

This commit is contained in:
Parnic
2010-09-10 01:41:50 +00:00
parent 1ec6c732cb
commit 22fd66d756

View File

@ -383,6 +383,8 @@ function IceCustomCount.prototype:Enable(core)
self:RegisterEvent("UNIT_PET", "UpdateCustomCount")
self:RegisterEvent("PLAYER_PET_CHANGED", "UpdateCustomCount")
self:RegisterEvent("PLAYER_FOCUS_CHANGED", "UpdateCustomCount")
self:RegisterEvent("PLAYER_TARGET_CHANGED", "UpdateCustomCount")
self:RegisterEvent("PLAYER_DEAD", "UpdateCustomCount")
self.unit = self.moduleSettings.auraTarget