Commit 07559ae6 authored by Azilroka's avatar Azilroka

LeaderIndicator

parent 90d5e087
......@@ -38,7 +38,7 @@ local function Update(self, event)
element:PreUpdate()
end
local isLeader = (UnitInParty(unit) or UnitInRaid(unit)) and UnitIsGroupLeader(unit)
local isLeader = UnitLeadsAnyGroup(unit)
if(isLeader) then
element:Show()
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment