From 636bf32baf8d464f81c175f20be896a429d039e2 Mon Sep 17 00:00:00 2001 From: Sunny Bat Date: Sun, 7 May 2023 03:45:59 -0700 Subject: [PATCH] Add parenthesis so code doesn't crash (#78) --- .../Helpers/ArchipelagoSocketHelper_websocket-sharp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Archipelago.MultiClient.Net/Helpers/ArchipelagoSocketHelper_websocket-sharp.cs b/Archipelago.MultiClient.Net/Helpers/ArchipelagoSocketHelper_websocket-sharp.cs index 89b2acb..45c80aa 100644 --- a/Archipelago.MultiClient.Net/Helpers/ArchipelagoSocketHelper_websocket-sharp.cs +++ b/Archipelago.MultiClient.Net/Helpers/ArchipelagoSocketHelper_websocket-sharp.cs @@ -43,7 +43,7 @@ public class ArchipelagoSocketHelper : IArchipelagoSocketHelper /// Does not emit a ping to determine if the connection is stable. /// public bool Connected => webSocket != null && - webSocket.ReadyState == WebSocketState.Open || webSocket.ReadyState == WebSocketState.Closing; + (webSocket.ReadyState == WebSocketState.Open || webSocket.ReadyState == WebSocketState.Closing); internal WebSocket webSocket;