1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Fix perfect curve anchors losing type between reloads

This commit is contained in:
OliBomby 2024-08-16 14:24:55 +02:00
parent 4cc38cea63
commit a2e26ba9ff

View File

@ -347,7 +347,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
vertices[i] = new PathControlPoint { Position = points[i] }; vertices[i] = new PathControlPoint { Position = points[i] };
// Edge-case rules (to match stable). // Edge-case rules (to match stable).
if (type == PathType.PERFECT_CURVE) if (type == PathType.PERFECT_CURVE && FormatVersion < LegacyBeatmapEncoder.FIRST_LAZER_VERSION)
{ {
int endPointLength = endPoint == null ? 0 : 1; int endPointLength = endPoint == null ? 0 : 1;