From fbf35c904d503ff4b9be4317f0b7bc74bbbee373 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 29 Nov 2016 18:49:03 +0900 Subject: [PATCH] Fix Config regression with DI. --- osu.Game/OsuGameBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs index 2f3e5025b7..f58e868e1c 100644 --- a/osu.Game/OsuGameBase.cs +++ b/osu.Game/OsuGameBase.cs @@ -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.