From ddadf3c4b5ecc2306cf99b9882ef5ba92dcb88b9 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 21 Dec 2021 14:37:23 +0900 Subject: [PATCH] Add logging of `MultiplayerMatchSubScreen` exiting from room loss --- .../OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs b/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs index 6895608c8e..ad332dd33a 100644 --- a/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs +++ b/osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerMatchSubScreen.cs @@ -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