diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index 7f14c6c942..7f488c43be 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -35,6 +35,8 @@ namespace osu.Game string[] args; + public OptionsOverlay Options; + public OsuGame(string[] args = null) { this.args = args; @@ -89,6 +91,8 @@ namespace osu.Game } }); + (Options = new OptionsOverlay { Depth = float.MaxValue / 2 }).Preload(game, Add); + (intro = new Intro { Beatmap = Beatmap diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs index 5f1bf5aafd..0ac808d1ff 100644 --- a/osu.Game/OsuGameBase.cs +++ b/osu.Game/OsuGameBase.cs @@ -27,7 +27,6 @@ namespace osu.Game protected override string MainResourceFile => @"osu.Game.Resources.dll"; - public OptionsOverlay Options; public APIAccess API; protected override Container Content => ratioContainer; @@ -80,8 +79,6 @@ namespace osu.Game Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-Black")); Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-BlackItalic")); - (Options = new OptionsOverlay { Depth = float.MaxValue / 2 }).Preload(game, Add); - API = new APIAccess() { Username = Config.Get(OsuConfig.Username),