mirror of https://github.com/ppy/osu
Fix inverted calculation
This commit is contained in:
parent
bd2486e5a0
commit
5d1d6ec1cb
|
@ -270,7 +270,7 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
|
|||
r.Type = HitResult.Miss;
|
||||
else
|
||||
{
|
||||
double hitFraction = (double)totalTicks / hitTicks;
|
||||
double hitFraction = (double)hitTicks / totalTicks;
|
||||
r.Type = hitFraction >= 0.5 ? HitResult.Ok : HitResult.Meh;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue