diff --git a/Client.cs b/Client.cs index 20fe8f2..288bd34 100644 --- a/Client.cs +++ b/Client.cs @@ -135,7 +135,8 @@ public async void Disconnect() if (!Disconnected) { SendInternal(hostSteamID, disconnectMsgBuffer); - Disconnected = true; + + state = ConnectionState.DISCONNECTED; cancelToken.Cancel(); //Wait a short time before calling steams disconnect function so the message has time to go out