diff --git a/osu.Game.Rulesets.Touhosu/Extensions/ConversionExtensions.cs b/osu.Game.Rulesets.Touhosu/Extensions/ConversionExtensions.cs index 0d2b4cf..bd0a45f 100644 --- a/osu.Game.Rulesets.Touhosu/Extensions/ConversionExtensions.cs +++ b/osu.Game.Rulesets.Touhosu/Extensions/ConversionExtensions.cs @@ -56,9 +56,7 @@ public static IEnumerable ConvertDefaultSlider(HitObject obj, var velocity = scoringDistance / timingPoint.BeatLength; var tickDistance = scoringDistance / difficulty.SliderTickRate; - double legacyLastTickOffset = (obj as IHasLegacyLastTickOffset)?.LegacyLastTickOffset ?? 0; - - foreach (var e in SliderEventGenerator.Generate(obj.StartTime, spanDuration, velocity, tickDistance, curve.Path.Distance, curve.RepeatCount + 1, legacyLastTickOffset, new CancellationToken())) + foreach (var e in SliderEventGenerator.Generate(obj.StartTime, spanDuration, velocity, tickDistance, curve.Path.Distance, curve.RepeatCount + 1, new CancellationToken())) { var curvePosition = curve.CurvePositionAt(e.PathProgress / (curve.RepeatCount + 1)) + originalPosition; var sliderEventPosition = toPlayfieldSpace(curvePosition * new Vector2(1, 0.4f)); @@ -95,9 +93,7 @@ public static IEnumerable ConvertBuzzSlider(HitObject obj, Vec var velocity = scoringDistance / timingPoint.BeatLength; var tickDistance = scoringDistance / difficulty.SliderTickRate; - double legacyLastTickOffset = (obj as IHasLegacyLastTickOffset)?.LegacyLastTickOffset ?? 0; - - var slider = SliderEventGenerator.Generate(obj.StartTime, spanDuration, velocity, tickDistance, curve.Path.Distance, curve.RepeatCount + 1, legacyLastTickOffset, new CancellationToken()); + var slider = SliderEventGenerator.Generate(obj.StartTime, spanDuration, velocity, tickDistance, curve.Path.Distance, curve.RepeatCount + 1, new CancellationToken()); var buzzPosition = toPlayfieldSpace(originalPosition * new Vector2(1, 0.4f)); var repeats = slider.Select(e => e.Type == SliderEventType.Repeat); diff --git a/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj b/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj index 12e2b60..4d47fba 100644 --- a/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj +++ b/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj @@ -11,6 +11,6 @@ - + \ No newline at end of file