mirror of
https://github.com/ppy/osu
synced 2025-01-26 07:43:08 +00:00
Fix hold note light lingering with No Release
Turns out endHold() is not called in the Tail.IsHit branch of the hold notes' CheckForResult method.
This commit is contained in:
parent
3a1c05337d
commit
00ed7a7a2f
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user