From 22f80c85bd2b5090ebd2f37a255f76e40177ff9e Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 21 Nov 2024 00:49:55 +0100 Subject: [PATCH] Lint pass --- elements/combatindicator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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