mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix nested hits not being hittable if cut off by parent object ending
This commit is contained in:
parent
955aa70e46
commit
041e818892
@ -62,6 +62,8 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
|||||||
hitObject.LifetimeEnd = state == ArmedState.Idle || !hitObject.AllJudged
|
hitObject.LifetimeEnd = state == ArmedState.Idle || !hitObject.AllJudged
|
||||||
? hitObject.HitObject.GetEndTime() + hitObject.HitObject.HitWindows.WindowFor(HitResult.Miss)
|
? hitObject.HitObject.GetEndTime() + hitObject.HitObject.HitWindows.WindowFor(HitResult.Miss)
|
||||||
: hitObject.HitStateUpdateTime;
|
: hitObject.HitStateUpdateTime;
|
||||||
|
// extend the lifetime end of the object in order to allow its nested strong hit (if any) to be judged.
|
||||||
|
hitObject.LifetimeEnd += DrawableHit.StrongNestedHit.SECOND_HIT_WINDOW;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user