1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 06:02:55 +08:00

Block lounge background screen from exiting

This commit is contained in:
smoogipoo 2021-08-20 21:02:25 +09:00
parent c22c6f3a49
commit b190020c4b

View File

@ -5,6 +5,7 @@
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Screens;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Components;
using PlaylistItem = osu.Game.Online.Rooms.PlaylistItem;
@ -41,5 +42,11 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
playlist.Clear();
}
}
public override bool OnExiting(IScreen next)
{
// This screen never exits.
return true;
}
}
}