[nexuiz-commits] r7224 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 15 15:00:02 EDT 2009


Author: div0
Date: 2009-07-15 15:00:01 -0400 (Wed, 15 Jul 2009)
New Revision: 7224

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
this really should not change anything, but apparently it fixes race... odd


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2009-07-15 17:01:37 UTC (rev 7223)
+++ trunk/data/qcsrc/server/g_world.qc	2009-07-15 19:00:01 UTC (rev 7224)
@@ -1897,7 +1897,7 @@
 	{
 		if (timelimit && time >= timelimit)
 		{
-			if(g_race && g_race_qualifying == 2 && timelimit > 0)
+			if(g_race && (g_race_qualifying == 2) && timelimit > 0)
 			{
 				float totalplayers;
 				float playerswithlaps;
@@ -1919,6 +1919,7 @@
 				{
 					checkrules_suddendeathend = 0;
 					ReadyRestart(); // go to race
+					return;
 				}
 				else
 					InitiateOvertime();



More information about the nexuiz-commits mailing list