]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed Perfect medal in CA
authorz411 <z411@omaera.org>
Tue, 10 Nov 2020 09:42:36 +0000 (06:42 -0300)
committerz411 <z411@omaera.org>
Tue, 10 Nov 2020 09:42:36 +0000 (06:42 -0300)
qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc

index 9f4091ec7760d63e3b3507adcf3d1977c252bc6c..cb7af17ddbc1f2d397b80a1c9b704c70cec5f107 100644 (file)
@@ -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);
                }