1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Actually serialise SampleControlPoints along with HitObjects

This commit is contained in:
Dean Herbert 2021-08-31 15:05:10 +09:00
parent 448c58c35d
commit d988aa1680
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using Newtonsoft.Json;
using osu.Game.Graphics;
using osu.Game.Utils;
using osuTK.Graphics;
@ -13,6 +14,7 @@ namespace osu.Game.Beatmaps.ControlPoints
/// <summary>
/// The time at which the control point takes effect.
/// </summary>
[JsonIgnore]
public double Time => controlPointGroup?.Time ?? 0;
private ControlPointGroup controlPointGroup;

View File

@ -66,7 +66,6 @@ namespace osu.Game.Rulesets.Objects
}
}
[JsonIgnore]
public SampleControlPoint SampleControlPoint;
/// <summary>