mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
CI fix
This commit is contained in:
parent
6d401b5f21
commit
f831832c59
@ -38,11 +38,8 @@ namespace osu.Game.Rulesets.Scoring
|
||||
{
|
||||
get
|
||||
{
|
||||
// Evaluate the mod strings
|
||||
if (mods == null)
|
||||
mods = Ruleset.CreateInstance().GetAllMods().Where(mod => modStrings.Contains(mod.ShortenedName)).ToArray();
|
||||
|
||||
return mods;
|
||||
// Evaluate the mod strings if necessary
|
||||
return mods ?? (mods = Ruleset.CreateInstance().GetAllMods().Where(mod => modStrings.Contains(mod.ShortenedName)).ToArray());
|
||||
}
|
||||
set
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user