I am trying to make a highscore based game that saves the player's highscore when they close it, so that they can go back to the game and still have their highscore there.
I've set everything up using Local Storage and Global Variables, but for some reason it won't save. Here are some screenshots of the different pieces of code:
Can anyone spot why it isn't working?