1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 13:54:26 +08:00

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
Unverified
@@ -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()