mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 21:13:20 +08:00
Fix DB serialisation
This commit is contained in:
parent
982d8fa8b1
commit
625484468e
@ -105,8 +105,9 @@ namespace osu.Game.Scoring
|
||||
}
|
||||
|
||||
// Used for database serialisation/deserialisation.
|
||||
[JsonIgnore]
|
||||
[Column("Mods")]
|
||||
private string modsString
|
||||
public string ModsString
|
||||
{
|
||||
get => JsonConvert.SerializeObject(apiMods);
|
||||
set => apiMods = JsonConvert.DeserializeObject<APIMod[]>(value);
|
||||
|
Loading…
Reference in New Issue
Block a user