Пример #1
0
        /// <summary>
        /// Sets up the players for the game. Server only.
        /// </summary>
        private void SetupGamePlayers()
        {
            Gamemode.MakeTeams(Players.ToArray());

            foreach (var player in Players)
            {
                if (player.IsSpectator)
                {
                    continue;                     //Ignore spectators
                }
                else
                {
                    SetupPlayer(player);
                }
            }
        }