diff --git a/osu.Game/Rulesets/Objects/HitObject.cs b/osu.Game/Rulesets/Objects/HitObject.cs index 92220ff8bd..0772e7707e 100644 --- a/osu.Game/Rulesets/Objects/HitObject.cs +++ b/osu.Game/Rulesets/Objects/HitObject.cs @@ -1,6 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE +using Newtonsoft.Json; using osu.Game.Audio; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; @@ -33,6 +34,7 @@ namespace osu.Game.Rulesets.Objects /// /// Whether this is in Kiai time. /// + [JsonIgnore] public bool Kiai { get; private set; } /// @@ -45,7 +47,7 @@ namespace osu.Game.Rulesets.Objects SoundControlPoint soundPoint = controlPointInfo.SoundPointAt(StartTime); EffectControlPoint effectPoint = controlPointInfo.EffectPointAt(StartTime); - Kiai |= effectPoint.KiaiMode; + Kiai = effectPoint.KiaiMode; // Initialize first sample Samples.ForEach(s => s.ControlPoint = soundPoint);