From 341723d1d13b40882ddcfa4ec205a909d3e66542 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Wed, 30 Sep 2020 12:59:04 +0200 Subject: [PATCH] added maincommand to engineconnection --- Client/EngineConnection.cs | 2 ++ 1 file changed, 2 insertions(+) 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); } ///