1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +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()
{
Dependencies.Cache(this);
Dependencies.Cache(new OsuConfigManager(Host.Storage));
Dependencies.Cache(Config);
Dependencies.Cache(new BeatmapDatabase(Host.Storage, Host));
//this completely overrides the framework default. will need to change once we make a proper FontStore.