1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 00:43:25 +08:00

Revert unintended change

It's a deeper issue with ScreenStack (see:
https://github.com/ppy/osu-framework/issues/4619).
This commit is contained in:
smoogipoo 2021-07-19 22:52:05 +09:00
parent 7956f73f62
commit 6a55cb9df0

View File

@ -326,7 +326,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
{ {
// the room may not be left immediately after a disconnection due to async flow, // the room may not be left immediately after a disconnection due to async flow,
// so checking the IsConnected status is also required. // so checking the IsConnected status is also required.
if (client?.Room == null || !client.IsConnected.Value) if (client.Room == null || !client.IsConnected.Value)
{ {
// room has not been created yet; exit immediately. // room has not been created yet; exit immediately.
return base.OnExiting(next); return base.OnExiting(next);