mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix inverted calculation
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user