r2380 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Apr 24 13:17:16 EDT 2007


Author: div0
Date: 2007-04-24 13:17:16 -0400 (Tue, 24 Apr 2007)
New Revision: 2380

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
reduced redirection timeouts


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2007-04-24 17:08:28 UTC (rev 2379)
+++ trunk/data/qcsrc/server/g_world.qc	2007-04-24 17:17:16 UTC (rev 2380)
@@ -1961,7 +1961,7 @@
 	if(!redirection_timeout)
 	{
 		cvar_set("sv_public", "-2");
-		redirection_timeout = time + 10;
+		redirection_timeout = time + 1.5;
 		if(redirection_target == "self")
 			bprint("^3SERVER NOTICE:^7 restarting the server\n");
 		else
@@ -1987,7 +1987,7 @@
 	ServerConsoleEcho(strcat("Redirecting: ", ftos(clients_found), " clients left."), FALSE);
 
 	if(time > redirection_timeout || clients_found == 0)
-		localcmd("\nquit\n");
+		localcmd("\nwait; wait; wait; quit\n");
 
 	return TRUE;
 }




More information about the nexuiz-commits mailing list