//StartTheGame
    private void StartGame()
    {
        //Get all the registered players and their properties
        List <PlayerInfo> registeredPlayers = new List <PlayerInfo>();

        foreach (PlayerInfo playerInfo in m_PlayerInfo)
        {
            if (playerInfo.playerID != -1)
            {
                registeredPlayers.Add(playerInfo);
            }
        }

        //Sort the registered players per team
        registeredPlayers = SortRegisteredPlayerPerTeam(registeredPlayers);

        //Add the registerd players to the game
        m_TeamManager.AddPlayers(registeredPlayers);

        //Set the needed game variables
        m_GameManager.SetMaxGameTime((int)m_GameTimeSlider.value * 60);

        //Start the game
        m_GameManager.StartGame();

        //Reset character selection variables
        m_StartCountdown   = false;
        m_CurrentCountdown = 0.0f;

        WipeSelection();

        //Show the needed UI
        m_InGameUI.SetActive(true);
        m_CharacterSelectionScreen.SetActive(false);

        //Disavle character selection inputs and so on
        gameObject.SetActive(false);
    }