1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 03:33:22 +08:00

The tail circle will always be the last hitobject

This commit is contained in:
smoogipoo 2018-06-13 23:46:43 +09:00 committed by Dean Herbert
parent de3708ea3a
commit 0366b0f081

View File

@ -96,11 +96,7 @@ namespace osu.Game.Rulesets.Osu.Objects
createRepeatPoints();
if (LegacyLastTickOffset != null)
{
var lastObject = NestedHitObjects.Last();
if (!(lastObject is SliderCircle))
lastObject.StartTime = Math.Max(StartTime + Duration / 2, lastObject.StartTime - LegacyLastTickOffset.Value);
}
TailCircle.StartTime = Math.Max(StartTime + Duration / 2, TailCircle.StartTime - LegacyLastTickOffset.Value);
}
private void createSliderEnds()