Fix tail note not properly capping result

This commit is contained in:
smoogipoo 2019-12-23 18:49:08 +09:00
parent d6fd1007c4
commit 63c96d5a83
1 changed files with 3 additions and 2 deletions

View File

@ -49,8 +49,9 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
ApplyResult(r =>
{
if (holdNote.HasBroken && (result == HitResult.Perfect || result == HitResult.Perfect))
result = HitResult.Good;
// 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))
result = HitResult.Meh;
r.Type = result;
});