diff --git a/ClientApp/Utils/Client.cs b/ClientApp/Utils/Client.cs index f02d55c..a47c1fa 100644 --- a/ClientApp/Utils/Client.cs +++ b/ClientApp/Utils/Client.cs @@ -165,6 +165,7 @@ namespace ClientApp.Utils break; case DataParser.MESSAGE: engineConnection.DoctorMessage = DataParser.getChatMessageFromJson(payloadbytes); + Debug.WriteLine("received message from doctor"); break; default: Console.WriteLine($"Received json with identifier {identifier}:\n{Encoding.ASCII.GetString(payloadbytes)}"); diff --git a/ClientApp/Utils/EngineConnection.cs b/ClientApp/Utils/EngineConnection.cs index 4fe35a3..1b86ec2 100644 --- a/ClientApp/Utils/EngineConnection.cs +++ b/ClientApp/Utils/EngineConnection.cs @@ -44,7 +44,7 @@ namespace ClientApp.Utils private static string groundPlaneId = string.Empty; private static string terrainId = string.Empty; - public string DoctorMessage { get; set; }; + public string DoctorMessage { get; set; } public float BikeSpeed { get; set; } public float BikePower { get; set; } public float BikeBPM { get; set; }