Merged in pricetx/hlstatsx-community-edition (pull request #4)

Resolved issue where rank was artificially high if points were below 1000.
This commit is contained in:
Christopher Lynch 2015-07-31 14:17:36 -04:00
commit 1777b706ae

View File

@ -1061,7 +1061,6 @@ sub getRank
WHERE WHERE
game=? game=?
AND hideranking = 0 AND hideranking = 0
AND kills >= 1
AND ( AND (
(skill > ?) OR ( (skill > ?) OR (
(skill = ?) AND ((kills/IF(deaths=0,1,deaths)) > ?) (skill = ?) AND ((kills/IF(deaths=0,1,deaths)) > ?)