mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 01:27:29 +08:00
Fix tail note not properly capping result
This commit is contained in:
parent
d6fd1007c4
commit
63c96d5a83
@ -49,8 +49,9 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|||||||
|
|
||||||
ApplyResult(r =>
|
ApplyResult(r =>
|
||||||
{
|
{
|
||||||
if (holdNote.HasBroken && (result == HitResult.Perfect || result == HitResult.Perfect))
|
// If the head wasn't hit or the hold note was broken, cap the max score to Meh.
|
||||||
result = HitResult.Good;
|
if (result > HitResult.Meh && (!holdNote.Head.IsHit || holdNote.HasBroken))
|
||||||
|
result = HitResult.Meh;
|
||||||
|
|
||||||
r.Type = result;
|
r.Type = result;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user