Fixed a bug where the game wouldn't save