mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 05:03:20 +08:00
Add back missing IRulesetStore
cache
This commit is contained in:
parent
8d943b5709
commit
3ecd535f6e
@ -222,6 +222,7 @@ namespace osu.Game
|
||||
var defaultBeatmap = new DummyWorkingBeatmap(Audio, Textures);
|
||||
|
||||
dependencies.Cache(RulesetStore = new RulesetStore(realmFactory, Storage));
|
||||
dependencies.CacheAs<IRulesetStore>(RulesetStore);
|
||||
|
||||
// ordering is important here to ensure foreign keys rules are not broken in ModelStore.Cleanup()
|
||||
dependencies.Cache(ScoreManager = new ScoreManager(RulesetStore, () => BeatmapManager, Storage, realmFactory, Scheduler, Host, () => difficultyCache, LocalConfig));
|
||||
|
Loading…
Reference in New Issue
Block a user