I just fixed the setting bug today, and OH MY GOD THANK YOU SOOOO MUCH!
I fixed the bug by adding the ghost flag to the button, and finally I can actually equip my weapon without having to manually edit the game’s code! Thank you, now I can actually finish my game and share it publicly! This is probably the worst bug I’ve ever faced and am so glad that now it’s gone. Although I am kind of disappointed that it was such a simple fix.