1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Disable logo click sound when exiting

This commit is contained in:
aitani9 2021-06-25 09:21:26 -07:00
parent c8022126dc
commit 6bc71590c5

View File

@ -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;
}
}