mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:43:20 +08:00
Fix potential out-of-order tail and ticks
This commit is contained in:
parent
941f26d462
commit
9e1fec0213
@ -129,6 +129,13 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
if (userTriggered)
|
if (userTriggered)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Ensure the tail can only activate after all previous ticks already have.
|
||||||
|
//
|
||||||
|
// This covers the edge case where the lenience may allow the tail to activate before
|
||||||
|
// the last tick, changing ordering of score/combo awarding.
|
||||||
|
if (DrawableSlider.NestedHitObjects.Count > 1 && !DrawableSlider.NestedHitObjects[^2].Judged)
|
||||||
|
return;
|
||||||
|
|
||||||
// The player needs to have engaged in tracking at any point after the tail leniency cutoff.
|
// The player needs to have engaged in tracking at any point after the tail leniency cutoff.
|
||||||
// An actual tick miss should only occur if reaching the tick itself.
|
// An actual tick miss should only occur if reaching the tick itself.
|
||||||
if (timeOffset >= SliderEventGenerator.TAIL_LENIENCY && Tracking)
|
if (timeOffset >= SliderEventGenerator.TAIL_LENIENCY && Tracking)
|
||||||
|
Loading…
Reference in New Issue
Block a user