mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 18:27:26 +08:00
Don't output the first slider control point
This commit is contained in:
parent
60063eefd2
commit
4760307bbb
@ -269,9 +269,12 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i != 0)
|
||||||
|
{
|
||||||
writer.Write(FormattableString.Invariant($"{positionData.X + point.Position.Value.X}:{positionData.Y + point.Position.Value.Y}"));
|
writer.Write(FormattableString.Invariant($"{positionData.X + point.Position.Value.X}:{positionData.Y + point.Position.Value.Y}"));
|
||||||
writer.Write(i != curveData.Path.ControlPoints.Count - 1 ? "|" : ",");
|
writer.Write(i != curveData.Path.ControlPoints.Count - 1 ? "|" : ",");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
writer.Write(FormattableString.Invariant($"{curveData.RepeatCount + 1},"));
|
writer.Write(FormattableString.Invariant($"{curveData.RepeatCount + 1},"));
|
||||||
writer.Write(FormattableString.Invariant($"{curveData.Path.Distance},"));
|
writer.Write(FormattableString.Invariant($"{curveData.Path.Distance},"));
|
||||||
|
Loading…
Reference in New Issue
Block a user