// Sets the player name
 public static Coroutine SetPlayerName(LobbyPlayer player, string playerName)
 {
     return(GameDB.instance.StartCoroutine(GameDB.Set <string>(
                                               "AccountToName",
                                               player.accountId,
                                               playerName,
                                               data => {
         if (data == null)
         {
             Lobby.RPC("PlayerNameChangeError", player.peer);
         }
         else
         {
             player.name = data;
             Lobby.RPC("ReceivePlayerName", player.peer, player.accountId, player.name);
             LobbyServer.OnReceivePlayerName(player);
         }
     }
                                               )));
 }