From: Rudolf Polzer Date: Mon, 14 Jan 2013 09:55:44 +0000 (+0100) Subject: fix rank indexes X-Git-Tag: xonotic-v0.7.0~129 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e00355ab0265c9326a15d413916acd25c0b6ba9c;p=xonotic%2Fxonotic-data.pk3dir.git fix rank indexes --- diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index 06f25e41a..c2307ad37 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -725,7 +725,7 @@ entity PlayerScore_Sort(.float field, float strict) if(!plast || PlayerTeamScore_Compare(plast, pbest, 0)) j = i; - pbest.field = ++i; + pbest.field = j; if not(pfirst) pfirst = pbest;