Fix hold note disappear instantly

This commit is contained in:
ekrctb 2022-10-25 19:16:23 +09:00
parent 5a537f13b5
commit 92ab39f5c2
1 changed files with 3 additions and 1 deletions

View File

@ -69,6 +69,8 @@ public class DrawableHoldNote : DrawableManiaHitObject<HoldNote>, IKeyBindingHan
/// </summary>
private double? releaseTime;
public override double MaximumJudgementOffset => Tail.MaximumJudgementOffset;
public DrawableHoldNote()
: this(null)
{
@ -260,7 +262,7 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
tick.MissForcefully();
}
ApplyResult(r => r.Type = r.Judgement.MaxResult);
ApplyResult(r => r.Type = Tail.IsHit ? r.Judgement.MaxResult : r.Judgement.MinResult);
endHold();
}