diff --git a/PolyChat/Models/Client.cs b/PolyChat/Models/Client.cs index 2867a05..84a8fc3 100644 --- a/PolyChat/Models/Client.cs +++ b/PolyChat/Models/Client.cs @@ -139,10 +139,7 @@ namespace PolyChat.Models Console.WriteLine("Command recieved!" + Data[0]); }); - connection.On(SocketIOEvent.CONNECTION, () => - { - client.connected = true; - }); + client.connected = true; } //================================================================================== //Getter and Setter