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:
parent
fa80cc84f8
commit
fbf35c904d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user