diff --git a/Client/EngineConnection.cs b/Client/EngineConnection.cs index ff9b5e2..965673b 100644 --- a/Client/EngineConnection.cs +++ b/Client/EngineConnection.cs @@ -34,6 +34,7 @@ namespace Client private static NetworkStream stream; private static Dictionary serialResponses = new Dictionary(); + private Command mainCommand; public bool Connected = false; @@ -84,6 +85,7 @@ namespace Client // wait until we have a tunnel id while (tunnelId == string.Empty) { } Write("got tunnel id! " + tunnelId); + mainCommand = new Command(tunnelId); } ///