mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
Disable logo click sound when exiting
This commit is contained in:
parent
c8022126dc
commit
6bc71590c5
@ -261,7 +261,7 @@ namespace osu.Game.Screens.Menu
|
||||
switch (state)
|
||||
{
|
||||
default:
|
||||
return true;
|
||||
return false;
|
||||
|
||||
case ButtonSystemState.Initial:
|
||||
State = ButtonSystemState.TopLevel;
|
||||
@ -274,10 +274,6 @@ namespace osu.Game.Screens.Menu
|
||||
case ButtonSystemState.Play:
|
||||
buttonsPlay.First().Click();
|
||||
return false;
|
||||
|
||||
// no sound should be played if the logo is clicked on while transitioning to song select
|
||||
case ButtonSystemState.EnteringMode:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user