Added in saving the player's location.