mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Actualize tests
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user