diff --git a/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs b/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs index 75d1eed1ab..0d76cb855b 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs @@ -29,16 +29,16 @@ namespace osu.Game.Rulesets.Osu.Difficulty [JsonProperty("overall_difficulty")] public double OverallDifficulty { get; set; } - [JsonProperty("drain_rate")] + [JsonIgnore] public double DrainRate { get; set; } - [JsonProperty("hit_circle_count")] + [JsonIgnore] public int HitCircleCount { get; set; } - [JsonProperty("slider_count")] + [JsonIgnore] public int SliderCount { get; set; } - [JsonProperty("spinner_count")] + [JsonIgnore] public int SpinnerCount { get; set; } public override IEnumerable<(int attributeId, object value)> ToDatabase() diff --git a/osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs b/osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs index 96d52833e0..6a3b97ab1d 100644 --- a/osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs +++ b/osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs @@ -17,10 +17,10 @@ namespace osu.Game.Rulesets.Difficulty [JsonIgnore] public Skill[] Skills { get; set; } - [JsonProperty("star_rating")] + [JsonProperty("star_rating", Order = -3)] public double StarRating { get; set; } - [JsonProperty("max_combo")] + [JsonProperty("max_combo", Order = -2)] public int MaxCombo { get; set; } public DifficultyAttributes()