r5694 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jan 29 07:34:12 EST 2009


Author: div0
Date: 2009-01-29 07:34:12 -0500 (Thu, 29 Jan 2009)
New Revision: 5694

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
make endmatch work during overtime


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2009-01-29 12:15:06 UTC (rev 5693)
+++ trunk/data/qcsrc/server/g_world.qc	2009-01-29 12:34:12 UTC (rev 5694)
@@ -1776,8 +1776,14 @@
 	}
 	else
 	{
-		if (timelimit && time >= timelimit)
+		if (timelimit < 0)
 		{
+			// endmatch
+			NextLevel();
+			return;
+		}
+		else if (timelimit && time >= timelimit)
+		{
 			if(g_race && g_race_qualifying == 2 && timelimit > 0)
 			{
 				float totalplayers;




More information about the nexuiz-commits mailing list