beforeGameSave

open fun beforeGameSave()

Called each time the game is saved. If you want to avoid any data going into the save file, you can clear it here. Not called if the achievement is complete.