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:
parent
ddadf3c4b5
commit
d08b66a5ff
@ -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();
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user