mirror of https://github.com/ppy/osu
Fix hold note disappear instantly
This commit is contained in:
parent
5a537f13b5
commit
92ab39f5c2
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue