From c5ca003882e5212e61e1ca2fe767ad640baf334c Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 19 Dec 2016 11:49:26 +0100 Subject: [PATCH] group: add missing update event --- modules/group.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()