1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Add logging of MultiplayerMatchSubScreen exiting from room loss

This commit is contained in:
Dean Herbert 2021-12-21 14:37:23 +09:00
parent 2ea31c26a5
commit ddadf3c4b5

View File

@ -11,6 +11,7 @@ using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Logging;
using osu.Framework.Screens;
using osu.Framework.Threading;
using osu.Game.Beatmaps;
@ -434,6 +435,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
private void handleRoomLost() => Schedule(() =>
{
Logger.Log($"{nameof(MultiplayerMatchSubScreen)} exiting due to loss of room or connection");
if (this.IsCurrentScreen())
this.Exit();
else