Revert "Remove game-wise settings store for the time being"

This reverts commit 72df2c681b.
This commit is contained in:
Dean Herbert 2018-01-24 18:01:39 +09:00
parent c2a58223c5
commit 80b8780f56
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,8 @@ public class OsuGameBase : Framework.Game, IOnlineComponent
protected KeyBindingStore KeyBindingStore;
protected SettingsStore SettingsStore;
protected CursorOverrideContainer CursorOverrideContainer;
protected override string MainResourceFile => @"osu.Game.Resources.dll";
@ -109,6 +111,7 @@ private void load()
dependencies.Cache(BeatmapManager = new BeatmapManager(Host.Storage, contextFactory.GetContext, RulesetStore, API, Host));
dependencies.Cache(ScoreStore = new ScoreStore(Host.Storage, contextFactory.GetContext, Host, BeatmapManager, RulesetStore));
dependencies.Cache(KeyBindingStore = new KeyBindingStore(contextFactory.GetContext, RulesetStore));
dependencies.Cache(SettingsStore = new SettingsStore(contextFactory.GetContext));
dependencies.Cache(new OsuColour());
//this completely overrides the framework default. will need to change once we make a proper FontStore.