mirror of https://github.com/ppy/osu
Change score accuracy grading logic to be inclusive
This commit is contained in:
parent
f958010d29
commit
7d32490198
|
@ -375,13 +375,13 @@ private ScoreRank rankFrom(double acc)
|
|||
{
|
||||
if (acc == 1)
|
||||
return ScoreRank.X;
|
||||
if (acc > 0.95)
|
||||
if (acc >= 0.95)
|
||||
return ScoreRank.S;
|
||||
if (acc > 0.9)
|
||||
if (acc >= 0.9)
|
||||
return ScoreRank.A;
|
||||
if (acc > 0.8)
|
||||
if (acc >= 0.8)
|
||||
return ScoreRank.B;
|
||||
if (acc > 0.7)
|
||||
if (acc >= 0.7)
|
||||
return ScoreRank.C;
|
||||
|
||||
return ScoreRank.D;
|
||||
|
|
Loading…
Reference in New Issue