void LeaveQueue(LobbyMessageInfo info)
    {
        LobbyPlayer player = LobbyServer.GetLobbyPlayer(info);

        // Make the player leave the queue
        if (player.LeaveQueue())
        {
            // Let the player know he left the queue
            LogManager.General.Log("'" + player.name + "' left the queue");
            Lobby.RPC("LeftQueue", player.peer);
        }
    }
    // Create practice match
    public static LobbyMatch CreatePracticeMatch(LobbyPlayer player)
    {
        player.LeaveQueue();

        LobbyMatch match = new LobbyMatch();

        //player.match = match;
        match.teams[0].Add(player);
        player.SendMatchAcceptRequest(match);

        return(match);
    }