Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 5df80b2

Browse files
committed
whoops missed an iconframeicon element to switch
1 parent 7a2c9ab commit 5df80b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Neuron-GUI.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ function NeuronGUI:specUpdateIcon(button,state)
25462546
end
25472547

25482548
else
2549-
texture = button.iconframeicon:GetTexture()
2549+
texture = button.elements.IconFrameIcon:GetTexture()
25502550
end
25512551
return texture
25522552
end
@@ -2613,7 +2613,7 @@ function NeuronGUI:MacroEditorUpdate()
26132613
if (data) then
26142614
NBTNE.macroedit.edit:SetText(data.macro_Text)
26152615
if (not data.macro_Icon) then
2616-
NBTNE.macroicon.icon:SetTexture(NeuronGUI:specUpdateIcon(button, state))--button.iconframeicon:GetTexture())
2616+
NBTNE.macroicon.icon:SetTexture(NeuronGUI:specUpdateIcon(button, state))--button.elements.IconFrameIcon:GetTexture())
26172617
elseif (data.macro_Icon == "BLANK") then
26182618
NBTNE.macroicon.icon:SetTexture("")
26192619
else

0 commit comments

Comments
 (0)