Skip to content

Commit

Permalink
Lint pass
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Nov 20, 2024
1 parent aa179c7 commit 22f80c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/combatindicator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22f80c8

Please sign in to comment.