Revert "Set client to null on disconnect"
This reverts commit 10552d119f
.
This commit is contained in:
@ -45,7 +45,6 @@ namespace RageCoop.Client
|
|||||||
if (IsOnServer)
|
if (IsOnServer)
|
||||||
{
|
{
|
||||||
Client.Disconnect("Bye!");
|
Client.Disconnect("Bye!");
|
||||||
Client=null;
|
|
||||||
}
|
}
|
||||||
else if (IsConnecting) {
|
else if (IsConnecting) {
|
||||||
_publicKeyReceived.Set();
|
_publicKeyReceived.Set();
|
||||||
|
Reference in New Issue
Block a user