r5047 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 12 16:11:39 EST 2008


Author: esteel
Date: 2008-11-12 16:11:39 -0500 (Wed, 12 Nov 2008)
New Revision: 5047

Modified:
   trunk/data/qcsrc/server/clientcommands.qc
Log:
small change to g_warmup and readynagger calling


Modified: trunk/data/qcsrc/server/clientcommands.qc
===================================================================
--- trunk/data/qcsrc/server/clientcommands.qc	2008-11-12 21:07:57 UTC (rev 5046)
+++ trunk/data/qcsrc/server/clientcommands.qc	2008-11-12 21:11:39 UTC (rev 5047)
@@ -325,7 +325,7 @@
 	} else if(argv(0) == "ready") {
 		if not(self.flags & FL_CLIENT)
 			return;
-		if((inWarmupStage && 0 < g_warmup_limit) // with unlimited warmup players have to be able to restart
+		if((inWarmupStage && 0 <= g_warmup_limit) // with unlimited warmup players have to be able to restart
 		   || cvar("sv_ready_restart"))
 		{
 			if(timeoutStatus) {
@@ -572,11 +572,11 @@
 
 	readycount = r;
 
+	Nagger_ReadyCounted();
+
 	if(r) // at least one is ready
 	if(r == p) // and, everyone is ready
 		ReadyRestart();
-
-	Nagger_ReadyCounted();
 }
 
 /**




More information about the nexuiz-commits mailing list