From f5f7658e906125fca54bc57532971d8d3cb74b36 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 7 Dec 2017 14:40:28 +0900 Subject: [PATCH] Don't serialize TotalBreakTime --- osu.Game/Beatmaps/Beatmap.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Beatmaps/Beatmap.cs b/osu.Game/Beatmaps/Beatmap.cs index c331872dda..e9342584cc 100644 --- a/osu.Game/Beatmaps/Beatmap.cs +++ b/osu.Game/Beatmaps/Beatmap.cs @@ -34,15 +34,16 @@ namespace osu.Game.Beatmaps [JsonIgnore] public BeatmapMetadata Metadata => BeatmapInfo?.Metadata ?? BeatmapInfo?.BeatmapSet?.Metadata; - [JsonConverter(typeof(TypedListConverter))] /// /// The HitObjects this Beatmap contains. /// + [JsonConverter(typeof(TypedListConverter))] public List HitObjects = new List(); /// /// Total amount of break time in the beatmap. /// + [JsonIgnore] public double TotalBreakTime => Breaks.Sum(b => b.Duration); ///