r4105 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Aug 11 14:39:35 EDT 2008


Author: div0
Date: 2008-08-11 14:39:35 -0400 (Mon, 11 Aug 2008)
New Revision: 4105

Modified:
   trunk/data/qcsrc/server/race.qc
Log:
fix to race winning condition


Modified: trunk/data/qcsrc/server/race.qc
===================================================================
--- trunk/data/qcsrc/server/race.qc	2008-08-11 16:59:35 UTC (rev 4104)
+++ trunk/data/qcsrc/server/race.qc	2008-08-11 18:39:35 UTC (rev 4105)
@@ -87,7 +87,7 @@
 			l = PlayerTeamScore_Add(e, SP_RACE_LAPS, ST_RACE_LAPS, 1);
 
 			if(cvar("fraglimit"))
-				if(l > cvar("fraglimit"))
+				if(l >= cvar("fraglimit"))
 					race_completing = 1;
 
 			if(race_completing)




More information about the nexuiz-commits mailing list