1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Add note about early return in DrawableSliderBall.Update

This commit is contained in:
Dean Herbert 2023-10-04 12:54:13 +09:00
parent 425fc9d61f
commit 9361b1879c

View File

@ -132,6 +132,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{ {
base.Update(); base.Update();
// even in an edge case where current time has exceeded the slider's time, we may not have finished judging.
// we don't want to potentially update from Tracking=true to Tracking=false at this point.
if (Time.Current >= drawableSlider.HitObject.EndTime) if (Time.Current >= drawableSlider.HitObject.EndTime)
return; return;