mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 14:00:48 +00:00
group: hide inactive raid icons
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ pfUI:RegisterModule("group", function ()
|
|||||||
|
|
||||||
if event == "RAID_TARGET_UPDATE" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then
|
if event == "RAID_TARGET_UPDATE" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then
|
||||||
local raidIcon = GetRaidTargetIndex("party" .. i)
|
local raidIcon = GetRaidTargetIndex("party" .. i)
|
||||||
if raidIcon then
|
if raidIcon and UnitExists("party" .. i) then
|
||||||
SetRaidTargetIconTexture(pfUI.uf.group[i].hp.raidIcon.texture, raidIcon)
|
SetRaidTargetIconTexture(pfUI.uf.group[i].hp.raidIcon.texture, raidIcon)
|
||||||
pfUI.uf.group[i].hp.raidIcon:Show()
|
pfUI.uf.group[i].hp.raidIcon:Show()
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user