Update Program.cs

This commit is contained in:
NYAN CAT 2019-01-27 04:50:32 -08:00
parent 614e2763a2
commit f458a93df8

View File

@ -77,18 +77,18 @@ namespace Client
public static void Reconnect()
{
if (Client.Connected) return;
if (Client.Connected == false)
{
Tick?.Dispose();
Client?.Close();
Client?.Dispose();
if (Client != null)
{
Client.Close();
Client.Dispose();
}
MS?.Dispose();
InitializeClient();
}
}
public static byte[] SendInfo()
{