r5126 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Nov 27 10:09:21 EST 2008


Author: div0
Date: 2008-11-27 10:09:20 -0500 (Thu, 27 Nov 2008)
New Revision: 5126

Modified:
   trunk/data/qcsrc/server/teamplay.qc
Log:
fix campaign check, sorry


Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc	2008-11-27 14:34:57 UTC (rev 5125)
+++ trunk/data/qcsrc/server/teamplay.qc	2008-11-27 15:09:20 UTC (rev 5126)
@@ -228,7 +228,7 @@
 		game = GAME_CTF;
 		gamemode_name = "Capture the Flag";
 		ActivateTeamplay();
-		if(g_campaign)
+		if(cvar("g_campaign"))
 			g_ctf_win_mode = 2;
 		else
 			g_ctf_win_mode = cvar("g_ctf_win_mode");




More information about the nexuiz-commits mailing list