1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Fix visualtest regression.

This commit is contained in:
Dean Herbert 2017-02-09 17:47:11 +09:00
parent 60e206e587
commit 829fb2605b
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -119,11 +119,11 @@ namespace osu.Game.Screens.Menu
buttonFlow.Add(buttonsTopLevel);
}
[BackgroundDependencyLoader]
private void load(AudioManager audio, OsuGame game)
[BackgroundDependencyLoader(true)]
private void load(AudioManager audio, OsuGame game = null)
{
sampleOsuClick = audio.Sample.Get(@"Menu/menuhit");
toolbar = game.Toolbar;
toolbar = game?.Toolbar;
}
protected override void LoadComplete()