1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Fix incorrect repeat point count

This commit is contained in:
smoogipoo 2019-12-12 18:42:48 +09:00
parent c3475a2dde
commit d1dc3456d1

View File

@ -264,7 +264,7 @@ namespace osu.Game.Beatmaps.Formats
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},"));
for (int i = 0; i < curveData.NodeSamples.Count; i++)