mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Fix LegacyBeatmapEncoder
using incorrect path length value
This commit is contained in:
parent
81fee02c2b
commit
e92def0ba2
@ -460,7 +460,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
var curveData = pathData as IHasPathWithRepeats;
|
var curveData = pathData as IHasPathWithRepeats;
|
||||||
|
|
||||||
writer.Write(FormattableString.Invariant($"{(curveData?.RepeatCount ?? 0) + 1},"));
|
writer.Write(FormattableString.Invariant($"{(curveData?.RepeatCount ?? 0) + 1},"));
|
||||||
writer.Write(FormattableString.Invariant($"{pathData.Path.Distance},"));
|
writer.Write(FormattableString.Invariant($"{pathData.Path.ExpectedDistance.Value ?? pathData.Path.Distance},"));
|
||||||
|
|
||||||
if (curveData != null)
|
if (curveData != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user