//! Moves the player to their previous location when a game is loaded.
 private void MovePlayerToSavedLocation()
 {
     if (PlayerPrefsX.GetPersistentBool("multiplayer") == true)
     {
         transform.position = PlayerPrefsX.GetPersistentVector3(stateManager.worldName + "playerPosition");
         money = PlayerPrefs.GetInt(stateManager.worldName + "money");
     }
     else
     {
         transform.position = PlayerPrefsX.GetVector3(stateManager.worldName + "playerPosition");
         money = FileBasedPrefs.GetInt(stateManager.worldName + "money");
     }
     movedPlayer = true;
 }