Correct and simplify RulesetStore

This commit is contained in:
Dean Herbert
2017-10-16 17:02:31 +09:00
parent ec51314e37
commit acc299c7b9
12 changed files with 37 additions and 38 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Overlays.Settings.Sections
[BackgroundDependencyLoader]
private void load(RulesetStore rulesets)
{
foreach(Ruleset ruleset in rulesets.AllRulesets.Select(info => info.CreateInstance()))
foreach(Ruleset ruleset in rulesets.AvailableRulesets.Select(info => info.CreateInstance()))
{
SettingsSubsection section = ruleset.CreateSettings();
if (section != null)