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
1 changed files with 1 additions and 5 deletions

View File

@ -96,11 +96,7 @@ protected override void CreateNestedHitObjects()
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()