Fix inverted calculation

This commit is contained in:
smoogipoo
2021-02-10 22:09:24 +09:00
parent bd2486e5a0
commit 5d1d6ec1cb

View File

@ -270,7 +270,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
r.Type = HitResult.Miss; r.Type = HitResult.Miss;
else else
{ {
double hitFraction = (double)totalTicks / hitTicks; double hitFraction = (double)hitTicks / totalTicks;
r.Type = hitFraction >= 0.5 ? HitResult.Ok : HitResult.Meh; r.Type = hitFraction >= 0.5 ? HitResult.Ok : HitResult.Meh;
} }
}); });