Skip to content

Commit b135c76

Browse files
committed
Same as previous. But now the button is skinned >.>
1 parent 5264116 commit b135c76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ElvUI/Mainline/Modules/Skins/PlayerChoice.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ local hooksecurefunc = hooksecurefunc
88

99
function S:PlayerChoice_SetupButtons(buttons)
1010
if buttons and buttons.buttonFramePool then
11-
for button in buttons.buttonFramePool:EnumerateActive() do
12-
if not button.IsSkinned then
13-
S:HandleButton(button, true)
11+
for buttonFrame in buttons.buttonFramePool:EnumerateActive() do
12+
if not buttonFrame.IsSkinned then
13+
S:HandleButton(buttonFrame.Button, true)
1414
end
1515
end
1616
end

0 commit comments

Comments
 (0)