1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Fix Config regression with DI.

This commit is contained in:
Dean Herbert 2016-11-29 18:49:03 +09:00
parent fa80cc84f8
commit fbf35c904d

View File

@ -41,7 +41,7 @@ namespace osu.Game
private void load() private void load()
{ {
Dependencies.Cache(this); Dependencies.Cache(this);
Dependencies.Cache(new OsuConfigManager(Host.Storage)); Dependencies.Cache(Config);
Dependencies.Cache(new BeatmapDatabase(Host.Storage, Host)); Dependencies.Cache(new BeatmapDatabase(Host.Storage, Host));
//this completely overrides the framework default. will need to change once we make a proper FontStore. //this completely overrides the framework default. will need to change once we make a proper FontStore.