mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Don't part room if join task was cancelled
This commit is contained in:
parent
c3ba92f057
commit
90ba8ae234
@ -87,7 +87,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
{
|
{
|
||||||
if (t.IsCompletedSuccessfully)
|
if (t.IsCompletedSuccessfully)
|
||||||
Schedule(() => onSuccess?.Invoke(room));
|
Schedule(() => onSuccess?.Invoke(room));
|
||||||
else
|
else if (t.IsFaulted)
|
||||||
{
|
{
|
||||||
const string message = "Failed to join multiplayer room.";
|
const string message = "Failed to join multiplayer room.";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user