mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Exit match before exiting multiplayer
This commit is contained in:
parent
1a26608ba9
commit
531b107a98
@ -212,6 +212,12 @@ namespace osu.Game.Screens.Multi
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
if (!(screenStack.CurrentScreen is LoungeSubScreen))
|
||||
{
|
||||
screenStack.Exit();
|
||||
return true;
|
||||
}
|
||||
|
||||
waves.Hide();
|
||||
|
||||
this.Delay(WaveContainer.DISAPPEAR_DURATION).FadeOut();
|
||||
|
Loading…
Reference in New Issue
Block a user