]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed bug with place notification
authorz411 <z411@omaera.org>
Sat, 7 Nov 2020 01:51:51 +0000 (22:51 -0300)
committerz411 <z411@omaera.org>
Sat, 7 Nov 2020 01:51:51 +0000 (22:51 -0300)
qcsrc/common/notifications/all.qh

index bbea2f112a25ff7c4026f9447d8a88b426146608..0377a342e9c7229c70eeedf342960d3651a7bb39 100644 (file)
@@ -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;
        }