1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-05 11:43:01 +08:00

Also add logging to OnlinePlayScreen

This commit is contained in:
Dean Herbert 2021-12-21 15:07:06 +09:00
parent ddadf3c4b5
commit d08b66a5ff
2 changed files with 3 additions and 1 deletions

View File

@ -435,7 +435,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
private void handleRoomLost() => Schedule(() =>
{
Logger.Log($"{nameof(MultiplayerMatchSubScreen)} exiting due to loss of room or connection");
Logger.Log($"{this} exiting due to loss of room or connection");
if (this.IsCurrentScreen())
this.Exit();

View File

@ -95,6 +95,8 @@ namespace osu.Game.Screens.OnlinePlay
private void forcefullyExit()
{
Logger.Log($"{this} forcefully exiting due to loss of API connection");
// This is temporary since we don't currently have a way to force screens to be exited
if (this.IsCurrentScreen())
{