mirror of https://github.com/ppy/osu
Don't output the first slider control point
This commit is contained in:
parent
60063eefd2
commit
4760307bbb
|
@ -269,8 +269,11 @@ private void handleOsuHitObject(TextWriter writer, HitObject hitObject)
|
|||
break;
|
||||
}
|
||||
|
||||
writer.Write(FormattableString.Invariant($"{positionData.X + point.Position.Value.X}:{positionData.Y + point.Position.Value.Y}"));
|
||||
writer.Write(i != curveData.Path.ControlPoints.Count - 1 ? "|" : ",");
|
||||
if (i != 0)
|
||||
{
|
||||
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(FormattableString.Invariant($"{curveData.RepeatCount + 1},"));
|
||||
|
|
Loading…
Reference in New Issue