Remove JsonIgnores, require opt-in properties

This commit is contained in:
Dan Balasescu
2021-11-15 19:54:35 +09:00
parent c8a01c35f7
commit 2c45a327bb
2 changed files with 1 additions and 6 deletions

View File

@ -9,12 +9,11 @@ using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Difficulty
{
[JsonObject(MemberSerialization.OptIn)]
public class DifficultyAttributes
{
[JsonIgnore]
public Mod[] Mods { get; set; }
[JsonIgnore]
public Skill[] Skills { get; set; }
[JsonProperty("star_rating", Order = -3)]