Store time of hold note break

This commit is contained in:
Bartłomiej Dach
2020-11-13 21:14:34 +01:00
parent 4777b1be81
commit b62bf5798d
2 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
ApplyResult(r =>
{
// If the head wasn't hit or the hold note was broken, cap the max score to Meh.
if (result > HitResult.Meh && (!holdNote.Head.IsHit || holdNote.HasBroken))
if (result > HitResult.Meh && (!holdNote.Head.IsHit || holdNote.HoldBrokenTime != null))
result = HitResult.Meh;
r.Type = result;