Load user rulesets from the game data directory

This commit is contained in:
Lucas A
2020-04-03 17:32:37 +02:00
parent c85705e935
commit 8cdae790c3
2 changed files with 36 additions and 6 deletions

View File

@ -168,7 +168,7 @@ namespace osu.Game
var defaultBeatmap = new DummyWorkingBeatmap(Audio, Textures);
dependencies.Cache(RulesetStore = new RulesetStore(contextFactory));
dependencies.Cache(RulesetStore = new RulesetStore(contextFactory, Storage));
dependencies.Cache(FileStore = new FileStore(contextFactory, Storage));
// ordering is important here to ensure foreign keys rules are not broken in ModelStore.Cleanup()