From 344314b362d484c2aea7d4e4f1e32d119c6e787f Mon Sep 17 00:00:00 2001 From: Arnvid Karstad Date: Sun, 26 May 2024 04:44:46 +0200 Subject: [PATCH] fix: Another LFGList layer change - missed previously - #116 --- Skin/Interface/FrameXML/LFGList.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Skin/Interface/FrameXML/LFGList.lua b/Skin/Interface/FrameXML/LFGList.lua index 1582175a..e1ebcbff 100644 --- a/Skin/Interface/FrameXML/LFGList.lua +++ b/Skin/Interface/FrameXML/LFGList.lua @@ -58,7 +58,7 @@ do --[[ FrameXML\LFGList.lua ]] function Hook.LFGListGroupDataDisplayEnumerate_Update(self, numPlayers, displayData, disabled, iconOrder) local iconIndex = numPlayers; for i=1, #self.Icons do - local icon = self.Icons[i] + local icon = self.Icons[i].RoleIcon if i > numPlayers then icon._auroraBorder:Hide(); icon._auroraBG:Hide(); @@ -70,7 +70,7 @@ do --[[ FrameXML\LFGList.lua ]] for i=1, #iconOrder do for j=1, displayData[iconOrder[i]] do - Base.SetTexture(self.Icons[iconIndex], "icon"..iconOrder[i]) + Base.SetTexture(self.Icons[iconIndex].RoleIcon, "icon"..iconOrder[i]) self.Icons[iconIndex]:SetSize(14, 14) iconIndex = iconIndex - 1; if iconIndex < 1 then @@ -80,7 +80,7 @@ do --[[ FrameXML\LFGList.lua ]] end for i=1, iconIndex do - local icon = self.Icons[i] + local icon = self.Icons[i].RoleIcon icon:SetAlpha(0) icon:SetSize(8, 8)