mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 18:43:04 +08:00
Actually serialise SampleControlPoint
s along with HitObject
s
This commit is contained in:
parent
448c58c35d
commit
d988aa1680
@ -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;
|
||||
|
@ -66,7 +66,6 @@ namespace osu.Game.Rulesets.Objects
|
||||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public SampleControlPoint SampleControlPoint;
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user