From 973ff20da419f7cf137e062373df491c496bff14 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 19 Oct 2020 12:49:04 +0200 Subject: [PATCH] small typo --- ClientApp/Utils/Client.cs | 1 + ClientApp/Utils/EngineConnection.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; }