From ee0c24531a218bd306f961d5a9892255e6f063ae Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 6 Nov 2020 22:51:51 -0300 Subject: [PATCH] Fixed bug with place notification --- qcsrc/common/notifications/all.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2