mirror of https://github.com/ppy/osu
Only miss slider tail on untrack
This commit is contained in:
parent
149cfd338d
commit
52d6f083dc
|
@ -33,13 +33,10 @@ public void ApplyToDrawableHitObject(DrawableHitObject drawable)
|
|||
{
|
||||
if (e.NewValue || slider.Judged) return;
|
||||
|
||||
slider.MissForcefully();
|
||||
var tail = slider.NestedHitObjects.OfType<StrictTrackingDrawableSliderTail>().First();
|
||||
|
||||
foreach (var o in slider.NestedHitObjects)
|
||||
{
|
||||
if (o is DrawableOsuHitObject h && !o.Judged)
|
||||
h.MissForcefully();
|
||||
}
|
||||
if (!tail.Judged)
|
||||
tail.MissForcefully();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +63,6 @@ public void ApplyToBeatmap(IBeatmap beatmap)
|
|||
|
||||
public void ApplyToDrawableRuleset(DrawableRuleset<OsuHitObject> drawableRuleset)
|
||||
{
|
||||
drawableRuleset.Playfield.RegisterPool<StrictTrackingSlider, DrawableSlider>(10, 100);
|
||||
drawableRuleset.Playfield.RegisterPool<StrictTrackingSliderTailCircle, StrictTrackingDrawableSliderTail>(10, 100);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue