This commit is contained in:
Tim Angus 2005-10-28 21:09:50 +00:00
parent b1b7f975f1
commit 4c63d1ed40
4 changed files with 27 additions and 1 deletions

View file

@ -396,6 +396,13 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
Cvar_Set( "nextmap", "map_restart 0");
// Cvar_Set( "nextmap", va("map %s", server) );
for (i=0 ; i<sv_maxclients->integer ; i++) {
// save when the server started for each client already connected
if (svs.clients[i].state >= CS_CONNECTED) {
svs.clients[i].oldServerTime = sv.time;
}
}
// wipe the entire per-level structure
SV_ClearServer();
for ( i = 0 ; i < MAX_CONFIGSTRINGS ; i++ ) {