Fix TravelDistance not being calculated

This commit is contained in:
smoogipoo 2018-12-23 16:26:23 +09:00
parent c848c83d0d
commit 9fcc727e0d

View File

@ -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);