1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 09:07:18 +08:00

Merge pull request #14291 from bdach/multi-leave-fix

Fix multiplayer client not leaving room
This commit is contained in:
Dean Herbert 2021-08-15 00:52:42 +09:00 committed by GitHub
commit 9e799efb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,8 +190,7 @@ namespace osu.Game.Online.Multiplayer
return joinOrLeaveTaskChain.Add(async () =>
{
await scheduledReset.ConfigureAwait(false);
if (Room != null)
await LeaveRoomInternal().ConfigureAwait(false);
await LeaveRoomInternal().ConfigureAwait(false);
});
}