From 577164ee2400988f0bf2882af14f3d100bb4f3a6 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 30 Dec 2016 14:32:21 +0100 Subject: [PATCH] group: hide inactive raid icons --- modules/group.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/group.lua b/modules/group.lua index a1521ffc..2c8e0530 100644 --- a/modules/group.lua +++ b/modules/group.lua @@ -40,7 +40,7 @@ pfUI:RegisterModule("group", function () if event == "RAID_TARGET_UPDATE" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then local raidIcon = GetRaidTargetIndex("party" .. i) - if raidIcon then + if raidIcon and UnitExists("party" .. i) then SetRaidTargetIconTexture(pfUI.uf.group[i].hp.raidIcon.texture, raidIcon) pfUI.uf.group[i].hp.raidIcon:Show() else