Skip to content

Commit

Permalink
Add parenthesis so code doesn't crash (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBat authored May 7, 2023
1 parent ddf6bbe commit 636bf32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class ArchipelagoSocketHelper : IArchipelagoSocketHelper
/// Does not emit a ping to determine if the connection is stable.
/// </summary>
public bool Connected => webSocket != null &&
webSocket.ReadyState == WebSocketState.Open || webSocket.ReadyState == WebSocketState.Closing;
(webSocket.ReadyState == WebSocketState.Open || webSocket.ReadyState == WebSocketState.Closing);

internal WebSocket webSocket;

Expand Down

0 comments on commit 636bf32

Please sign in to comment.