diff --git a/Client/Core/Networking/Client.cs b/Client/Core/Networking/Client.cs index 17729e60..398bcb31 100644 --- a/Client/Core/Networking/Client.cs +++ b/Client/Core/Networking/Client.cs @@ -317,7 +317,7 @@ private void AsyncReceive(IAsyncResult result) if (bytesTransferred <= 0) { - OnClientState(false); + Disconnect(); return; } } @@ -331,7 +331,7 @@ private void AsyncReceive(IAsyncResult result) } catch (Exception) { - OnClientState(false); + Disconnect(); return; }