r4923 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Oct 28 05:32:08 EDT 2008


Author: div0
Date: 2008-10-28 05:32:05 -0400 (Tue, 28 Oct 2008)
New Revision: 4923

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
fix #2178127


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-10-28 08:11:14 UTC (rev 4922)
+++ trunk/data/qcsrc/server/g_world.qc	2008-10-28 09:32:05 UTC (rev 4923)
@@ -1613,8 +1613,10 @@
 
 	if(inWarmupStage || time <= game_starttime) // NOTE: this is <= to prevent problems in the very tic where the game starts
 	{
-		timelimit = 0; // timelimit is not made for warmup
-		fraglimit = 0; // no fraglimit for now
+		if(timelimit > 0)
+			timelimit = 0; // timelimit is not made for warmup
+		if(fraglimit > 0)
+			fraglimit = 0; // no fraglimit for now
 	}
 
 	if(timelimit > 0)




More information about the nexuiz-commits mailing list