From: Rudolf Polzer Date: Tue, 19 Oct 2010 15:42:44 +0000 (+0200) Subject: Assault in Campaign: only run the first round X-Git-Tag: xonotic-v0.1.0preview~277 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=be2adc64e0a5622ca3f76ba8b9e4a70ec6844c86;p=xonotic%2Fxonotic-data.pk3dir.git Assault in Campaign: only run the first round --- 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; }