Skip to content

Commit

Permalink
Fix: osu&taiko grade calculation not ignoring misses for C grade (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
omkelderman authored Jan 3, 2021
1 parent d2cf322 commit 07f8938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StreamCompanion.Common/Helpers/OsuScore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private static OsuGrade CalculateGradeOsuOrTaiko(Mods mods, ushort c50, ushort c

if ((ratio300 > 0.8 && cMiss == 0) || ratio300 > 0.9) return OsuGrade.A;
if ((ratio300 > 0.7 && cMiss == 0) || ratio300 > 0.8) return OsuGrade.B;
if (ratio300 > 0.6 && cMiss == 0) return OsuGrade.C;
if (ratio300 > 0.6) return OsuGrade.C;
return OsuGrade.D;
}

Expand Down

0 comments on commit 07f8938

Please sign in to comment.