i am trying to make an autosave system in my game. it will save the player\'s set preferences (only made one so far). The first bit of code is designed to store the variable