From: z411 Date: Tue, 10 Nov 2020 09:42:36 +0000 (-0300) Subject: Fixed Perfect medal in CA X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12fe49c6a42a576d9b9bcbe1c7c55f007bc5221b;p=xonotic%2Fxonotic-data.pk3dir.git Fixed Perfect medal in CA --- diff --git a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc index 9f4091ec7..cb7af17dd 100644 --- a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc +++ b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc @@ -141,7 +141,7 @@ float CA_CheckWinner() nades_Clear(it); // Give perfect medal if everyone in the winner team is alive - if(perfect) { + if(perfect && it.team == winner_team) { Give_Medal(it, PERFECT); }