1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Don't part room if join task was cancelled

This commit is contained in:
Bartłomiej Dach 2021-01-30 23:39:01 +01:00
parent c3ba92f057
commit 90ba8ae234

View File

@ -87,7 +87,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
if (t.IsCompletedSuccessfully)
Schedule(() => onSuccess?.Invoke(room));
else
else if (t.IsFaulted)
{
const string message = "Failed to join multiplayer room.";