mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02:54 +08:00
Block lounge background screen from exiting
This commit is contained in:
parent
c22c6f3a49
commit
b190020c4b
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
|
using osu.Framework.Screens;
|
||||||
using osu.Game.Online.Rooms;
|
using osu.Game.Online.Rooms;
|
||||||
using osu.Game.Screens.OnlinePlay.Components;
|
using osu.Game.Screens.OnlinePlay.Components;
|
||||||
using PlaylistItem = osu.Game.Online.Rooms.PlaylistItem;
|
using PlaylistItem = osu.Game.Online.Rooms.PlaylistItem;
|
||||||
@ -41,5 +42,11 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
|||||||
playlist.Clear();
|
playlist.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool OnExiting(IScreen next)
|
||||||
|
{
|
||||||
|
// This screen never exits.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user