Ok so I'm making a game called "Physics Sandbox", and my biggest issue is loading saves. So, when I save the game, it works fine, I can return to the menu and load the save just fine. But when I go to the spawn menu, anything that I have unlocked, it is shown twice on the list, I've tried clearing the list on the start of the layout and then adding everything that is pre-unlocked, and then using the global variables that indicate if a secret item is unlocked, but that hasn't worked. This may be confusing to understand, so I have the file for the game here so you can try the game and see the glitch that I'm talking about. To quickly do this, just start the game, make a new game, spawn sand and spawn acid next to each other so you can unlock iron, then press M to save, press B and N at the same time to return to the menu, then press load recent save. When the game loads, observe the spawn menu and how iron is in the list twice. Please someone tell me how to fix this issue because it really makes the game annoying to play.
Physics Sandbox.c3p