mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Don't play logo select sample when actions are playing their own
This commit is contained in:
@ -180,19 +180,21 @@ namespace osu.Game.Screens.Menu
|
||||
State = MenuState.TopLevel;
|
||||
}
|
||||
|
||||
private void onOsuLogo()
|
||||
private bool onOsuLogo()
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
default:
|
||||
return true;
|
||||
case MenuState.Initial:
|
||||
State = MenuState.TopLevel;
|
||||
return;
|
||||
return true;
|
||||
case MenuState.TopLevel:
|
||||
buttonsTopLevel.First().TriggerOnClick();
|
||||
return;
|
||||
return false;
|
||||
case MenuState.Play:
|
||||
buttonsPlay.First().TriggerOnClick();
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user