1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00

Remove duplicated dependency on AudioManager

This commit is contained in:
recapitalverb 2020-02-14 18:40:58 +07:00
parent 2fa7143cda
commit 6d87d22a84

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens.Menu
private SampleChannel welcome;
[BackgroundDependencyLoader]
private void load(AudioManager audio)
private void load()
{
if (MenuVoice.Value && !MenuMusic.Value)
welcome = audio.Samples.Get(@"welcome");