This commit is contained in:
MrTheMake
2017-08-19 00:13:06 +02:00
parent 6d401b5f21
commit f831832c59

View File

@ -38,11 +38,8 @@ namespace osu.Game.Rulesets.Scoring
{ {
get get
{ {
// Evaluate the mod strings // Evaluate the mod strings if necessary
if (mods == null) return mods ?? (mods = Ruleset.CreateInstance().GetAllMods().Where(mod => modStrings.Contains(mod.ShortenedName)).ToArray());
mods = Ruleset.CreateInstance().GetAllMods().Where(mod => modStrings.Contains(mod.ShortenedName)).ToArray();
return mods;
} }
set set
{ {