Skip to content

Commit

Permalink
https://github.com/oUF-wow/oUF/pull/693
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Nov 21, 2024
1 parent e3a0bd6 commit 6331468
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ElvUI_Libraries/Core/oUF/elements/leaderindicator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,12 @@ local function Update(self, event)
-- true for the instance leader.
local isInLFGInstance = oUF.isRetail and HasLFGRestrictions()

-- ElvUI changed block
local isLeader
if IsInInstance() then
isLeader = UnitIsGroupLeader(unit)
else
isLeader = UnitLeadsAnyGroup(unit)
end
-- end block

if element.combatHide and UnitAffectingCombat(unit) then
element:Hide()
Expand Down

0 comments on commit 6331468

Please sign in to comment.