Fix spectator client not correctly reconnecting after shutdown

This commit is contained in:
Dean Herbert
2022-07-17 05:20:05 +09:00
parent 5b9be3e682
commit 8e7e1e6b51
2 changed files with 3 additions and 1 deletions

View File

@ -80,6 +80,7 @@ namespace osu.Game.Online.Multiplayer
try
{
// Importantly, use Invoke rather than Send to capture exceptions.
return await connection.InvokeAsync<MultiplayerRoom>(nameof(IMultiplayerServer.JoinRoomWithPassword), roomId, password ?? string.Empty);
}
catch (HubException exception)