From 22fd66d75622e9e20184d27f7632b5093f8f5c8c Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 10 Sep 2010 01:41:50 +0000 Subject: [PATCH] - 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 --- modules/CustomCount.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/CustomCount.lua b/modules/CustomCount.lua index 152405c..5769d79 100644 --- a/modules/CustomCount.lua +++ b/modules/CustomCount.lua @@ -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