/// <summary> /// Host_ServerFrame /// </summary> public void ServerFrame( ) { // run the world state Programs.GlobalStruct.frametime = ( Single )FrameTime; // set the time and clear the general datagram Server.ClearDatagram( ); // check for new clients Server.CheckForNewClients( ); // read client messages Server.RunClients( ); // move things around and think // always pause in single player if in console or menus if (!Server.sv.paused && (Server.svs.maxclients > 1 || Keyboard.Destination == KeyDestination.key_game)) { Server.Physics( ); } // send all messages to the clients Server.SendClientMessages( ); }