mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 12:58:01 +09: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)
|
public override bool OnExiting(IScreen next)
|
||||||
{
|
{
|
||||||
|
if (!(screenStack.CurrentScreen is LoungeSubScreen))
|
||||||
|
{
|
||||||
|
screenStack.Exit();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
waves.Hide();
|
waves.Hide();
|
||||||
|
|
||||||
this.Delay(WaveContainer.DISAPPEAR_DURATION).FadeOut();
|
this.Delay(WaveContainer.DISAPPEAR_DURATION).FadeOut();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user