Exemplo n.º 1
0
        public static void RoundStart(int fromClient, Packet packet)
        {
            int clientId = packet.ReadInt();

            if (clientId != 1)
            {
                Console.WriteLine($"Forbidden attempt to start a round from client: {clientId}");
                return;
            }
            Server.StartRound();
        }