mirror of https://github.com/ppy/osu
Fix hitobjects expiring before fully judged with hidden
This commit is contained in:
parent
57f0c47ded
commit
8c558610ab
|
@ -78,7 +78,7 @@ protected override void ApplyNormalVisibilityState(DrawableHitObject hitObject,
|
|||
|
||||
// DrawableHitObject sets LifetimeEnd to LatestTransformEndTime if it isn't manually changed.
|
||||
// in order for the object to not be killed before its actual end time (as the latest transform ends earlier), set lifetime end explicitly.
|
||||
hitObject.LifetimeEnd = state == ArmedState.Idle
|
||||
hitObject.LifetimeEnd = state == ArmedState.Idle || !hitObject.AllJudged
|
||||
? hitObject.HitObject.GetEndTime() + hitObject.HitObject.HitWindows.WindowFor(HitResult.Miss)
|
||||
: hitObject.HitStateUpdateTime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue