mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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)
|
switch (state)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
return true;
|
return false;
|
||||||
|
|
||||||
case ButtonSystemState.Initial:
|
case ButtonSystemState.Initial:
|
||||||
State = ButtonSystemState.TopLevel;
|
State = ButtonSystemState.TopLevel;
|
||||||
@ -274,10 +274,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
case ButtonSystemState.Play:
|
case ButtonSystemState.Play:
|
||||||
buttonsPlay.First().Click();
|
buttonsPlay.First().Click();
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// no sound should be played if the logo is clicked on while transitioning to song select
|
|
||||||
case ButtonSystemState.EnteringMode:
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user