mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Fix TravelDistance not being calculated
This commit is contained in:
parent
c848c83d0d
commit
9fcc727e0d
@ -77,7 +77,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
|
||||
}
|
||||
|
||||
if (lastObject is Slider lastSlider)
|
||||
{
|
||||
computeSliderCursorPosition(lastSlider);
|
||||
TravelDistance = lastSlider.LazyTravelDistance * scalingFactor;
|
||||
}
|
||||
|
||||
Vector2 lastCursorPosition = getEndCursorPosition(lastObject);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user