diff --git a/modules/group.lua b/modules/group.lua index f134f36b..29a1517e 100644 --- a/modules/group.lua +++ b/modules/group.lua @@ -38,7 +38,7 @@ pfUI:RegisterModule("group", function () return end - if event == "RAID_TARGET_UPDATE" or event == "PLAYER_ENTERING_WORLD" then + if event == "RAID_TARGET_UPDATE" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then local raidIcon = GetRaidTargetIndex("party" .. i) if raidIcon then SetRaidTargetIconTexture(pfUI.uf.group[i].hp.raidIcon.texture, raidIcon) @@ -48,7 +48,7 @@ pfUI:RegisterModule("group", function () end end - if event == "PARTY_LEADER_CHANGED" or event == "PLAYER_ENTERING_WORLD" then + if event == "PARTY_LEADER_CHANGED" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then if UnitIsPartyLeader("party"..i) then pfUI.uf.group[i].hp.leaderIcon:Show() else @@ -56,7 +56,7 @@ pfUI:RegisterModule("group", function () end end - if event == "PARTY_LOOT_METHOD_CHANGED" or event == "PLAYER_ENTERING_WORLD" then + if event == "PARTY_LOOT_METHOD_CHANGED" or event == "PLAYER_ENTERING_WORLD" or event == "PARTY_MEMBERS_CHANGED" then local _, lootmaster = GetLootMethod() if lootmaster and pfUI.uf.group[i].id == lootmaster then pfUI.uf.group[i].hp.lootIcon:Show()