Actualize tests

This commit is contained in:
Roman Kapustin
2021-03-11 21:02:40 +03:00
parent 47b80d2474
commit c6c616f244
4 changed files with 7 additions and 9 deletions

View File

@ -73,7 +73,7 @@ namespace osu.Game.Scoring
}
set
{
modsJson = null;
modsJson = JsonConvert.SerializeObject(value.Select(m => new DeserializedMod { Acronym = m.Acronym }));
mods = value;
}
}
@ -88,13 +88,7 @@ namespace osu.Game.Scoring
{
get
{
if (modsJson != null)
return modsJson;
if (mods == null)
return null;
return modsJson = JsonConvert.SerializeObject(mods.Select(m => new DeserializedMod { Acronym = m.Acronym }));
return modsJson;
}
set
{