r4117 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Aug 12 02:39:39 EDT 2008
Author: div0
Date: 2008-08-12 02:39:39 -0400 (Tue, 12 Aug 2008)
New Revision: 4117
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
fix timelimit condition for race winning conditions. Makes endmatch work again.
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2008-08-12 05:42:03 UTC (rev 4116)
+++ trunk/data/qcsrc/server/g_world.qc 2008-08-12 06:39:39 UTC (rev 4117)
@@ -1691,11 +1691,11 @@
{
bprint("Hey! Someone ran out of spawns!\n");
}
- else if(g_race && !g_race_qualifying)
+ else if(g_race && !g_race_qualifying && timelimit >= 0)
{
status = WinningCondition_Race(fraglimit);
}
- else if(g_race && g_race_qualifying == 2 && timelimit > 0)
+ else if(g_race && g_race_qualifying == 2 && timelimit >= 0)
{
status = WinningCondition_QualifyingThenRace();
}
More information about the nexuiz-commits
mailing list