Skip to content

Commit

Permalink
This is unneeded for Combat Indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Azilroka committed Nov 25, 2024
1 parent 4146830 commit acb5fde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ElvUI_Libraries/Core/oUF/elements/combatindicator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ local function Enable(self)
element.__owner = self
element.ForceUpdate = ForceUpdate

self:RegisterEvent('UNIT_COMBAT', Path)
self:RegisterEvent('UNIT_FLAGS', Path)

if(element:IsObjectType('Texture') and not element:GetTexture()) then
Expand All @@ -93,7 +92,6 @@ local function Disable(self)
if(element) then
element:Hide()

self:UnregisterEvent('UNIT_COMBAT', Path)
self:UnregisterEvent('UNIT_FLAGS', Path)
end
end
Expand Down

0 comments on commit acb5fde

Please sign in to comment.