From c1194102b1716800d2b00bbbaa8ef8f330b442ed Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 18 Feb 2017 22:33:24 +0900 Subject: [PATCH] Remove second sample playback when clicking osu! logo. --- osu.Game/Screens/Menu/ButtonSystem.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/osu.Game/Screens/Menu/ButtonSystem.cs b/osu.Game/Screens/Menu/ButtonSystem.cs index 8464ca92ef..a203638478 100644 --- a/osu.Game/Screens/Menu/ButtonSystem.cs +++ b/osu.Game/Screens/Menu/ButtonSystem.cs @@ -32,8 +32,6 @@ namespace osu.Game.Screens.Menu public Action OnChart; public Action OnTest; - private SampleChannel sampleOsuClick; - private Toolbar toolbar; private FlowContainerWithOrigin buttonFlow; @@ -122,7 +120,6 @@ namespace osu.Game.Screens.Menu [BackgroundDependencyLoader(true)] private void load(AudioManager audio, OsuGame game = null) { - sampleOsuClick = audio.Sample.Get(@"Menu/menuhit"); toolbar = game?.Toolbar; } @@ -181,7 +178,6 @@ namespace osu.Game.Screens.Menu switch (state) { case MenuState.Initial: - sampleOsuClick.Play(); State = MenuState.TopLevel; return; case MenuState.TopLevel: