Merge pull request #28905 from mcendu/no-release-hold-light-fix

Fix hold note light lingering with No Release
This commit is contained in:
Dan Balasescu 2024-07-18 18:42:16 +09:00 committed by GitHub
commit 6be9ce548d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -268,11 +268,14 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
ApplyMaxResult();
else
MissForcefully();
}
// Make sure that the hold note is fully judged by giving the body a judgement.
if (Tail.AllJudged && !Body.AllJudged)
Body.TriggerResult(Tail.IsHit);
// Make sure that the hold note is fully judged by giving the body a judgement.
if (!Body.AllJudged)
Body.TriggerResult(Tail.IsHit);
// Important that this is always called when a result is applied.
endHold();
}
}
public override void MissForcefully()