From: z411 Date: Sat, 7 Nov 2020 01:51:51 +0000 (-0300) Subject: Fixed bug with place notification X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ee0c24531a218bd306f961d5a9892255e6f063ae;p=xonotic%2Fxonotic-data.pk3dir.git Fixed bug with place notification --- diff --git a/qcsrc/common/notifications/all.qh b/qcsrc/common/notifications/all.qh index bbea2f112..0377a342e 100644 --- a/qcsrc/common/notifications/all.qh +++ b/qcsrc/common/notifications/all.qh @@ -491,7 +491,7 @@ string notif_arg_frag_pos(int score) bool tied = false; for(pl = players.sort_next; pl; pl = pl.sort_next) { - if(pl.team != NUM_SPECTATOR) continue; + if(pl.team == NUM_SPECTATOR) continue; if(pl.(scores(SP_SCORE)) == score) break; ++place; }