From: Mario Date: Sun, 6 Dec 2020 02:53:18 +0000 (+1000) Subject: Obey strict sorting when comparing player scores, fixes #1469 X-Git-Tag: xonotic-v0.8.5~651 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=227c102f73e9e07f0c53662a4ec94fa2c3fc9cf1;p=xonotic%2Fxonotic-data.pk3dir.git Obey strict sorting when comparing player scores, fixes #1469 --- diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index 3113e8a96..7cc5c6241 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -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;