r5079 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Nov 22 03:57:41 EST 2008


Author: div0
Date: 2008-11-22 03:57:31 -0500 (Sat, 22 Nov 2008)
New Revision: 5079

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
fix timelimit -1 again


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-11-22 08:50:00 UTC (rev 5078)
+++ trunk/data/qcsrc/server/g_world.qc	2008-11-22 08:57:31 UTC (rev 5079)
@@ -1616,7 +1616,7 @@
 	{
 		if (timelimit && time >= timelimit)
 		{
-			if(g_race && g_race_qualifying == 2)
+			if(g_race && g_race_qualifying == 2 && timelimit > 0)
 			{
 				float totalplayers;
 				float playerswithlaps;
@@ -1639,6 +1639,8 @@
 					checkrules_overtimeend = 0;
 					ReadyRestart(); // go to race
 				}
+				else
+					InitiateOvertime();
 			}
 			else
 				InitiateOvertime();




More information about the nexuiz-commits mailing list