diff --git a/elements/combatindicator.lua b/elements/combatindicator.lua index b7b8c8d5..4158d6ee 100644 --- a/elements/combatindicator.lua +++ b/elements/combatindicator.lua @@ -98,7 +98,7 @@ local function Disable(self) if(element) then element:Hide() - if(unit == 'player') then + if(self.unit == 'player') then self:UnregisterEvent('PLAYER_REGEN_DISABLED', Path, true) self:UnregisterEvent('PLAYER_REGEN_ENABLED', Path, true) else