From be2adc64e0a5622ca3f76ba8b9e4a70ec6844c86 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 19 Oct 2010 17:42:44 +0200 Subject: [PATCH] Assault in Campaign: only run the first round --- qcsrc/server/g_world.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index bc90ecac7..f75b0ba49 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -1654,7 +1654,7 @@ float WinningCondition_Assault() TeamScore_AddToTeam(assault_attacker_team, ST_ASSAULT_OBJECTIVES, 666 - TeamScore_AddToTeam(assault_attacker_team, ST_ASSAULT_OBJECTIVES, 0)); - if(ent.cnt == 1) // this was the second round + if(ent.cnt == 1 || cvar("g_campaign")) // this was the second round { status = WINNING_YES; } -- 2.39.2