]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Obey strict sorting when comparing player scores, fixes #1469
authorMario <zacjardine@y7mail.com>
Sun, 6 Dec 2020 02:53:18 +0000 (12:53 +1000)
committerMario <zacjardine@y7mail.com>
Sun, 6 Dec 2020 02:53:18 +0000 (12:53 +1000)
qcsrc/server/scores.qc

index 3113e8a965f9b56ac52974ae3543f3e81e1a0190..7cc5c624185c5aef4f188b7c91ec4c2d986e6487 100644 (file)
@@ -763,7 +763,7 @@ entity PlayerScore_Sort(.float field, int teams, bool strict, bool nospectators)
                pbest.chain = NULL;
 
                ++i;
-               if(!plast || PlayerTeamScore_Compare(plast, pbest, teams, false))
+               if(!plast || PlayerTeamScore_Compare(plast, pbest, teams, strict))
                        j = i;
 
                pbest.(field) = j;