mirror of
https://github.com/osukey/osukey.git
synced 2025-06-07 20:37:57 +09: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(() =>
|
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())
|
if (this.IsCurrentScreen())
|
||||||
this.Exit();
|
this.Exit();
|
||||||
|
@ -95,6 +95,8 @@ namespace osu.Game.Screens.OnlinePlay
|
|||||||
|
|
||||||
private void forcefullyExit()
|
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
|
// This is temporary since we don't currently have a way to force screens to be exited
|
||||||
if (this.IsCurrentScreen())
|
if (this.IsCurrentScreen())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user