From aa2e16de891938abb3678cb3f6adea3e4ef264bd Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 2 Nov 2020 10:37:40 +0100 Subject: [PATCH] fix --- Server/Client.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Server/Client.cs b/Server/Client.cs index 7d92ca2..2f1a65d 100644 --- a/Server/Client.cs +++ b/Server/Client.cs @@ -170,6 +170,7 @@ namespace Server Array.Copy(this.BikeDataBuffer, 0, this.BikeDataBuffer, 8, 8); Array.Copy(payloadbytes, 0, this.BikeDataBuffer, 0, 8); } + if (this.username != null) this.communication.Doctor?.sendMessage(DataParser.GetRawBikeDataDoctor(payloadbytes, this.username)); } @@ -181,6 +182,7 @@ namespace Server { Array.Copy(payloadbytes, 0, this.BPMDataBuffer, 0, 2); } + if (this.username != null) this.communication.Doctor?.sendMessage(DataParser.GetRawBPMDataDoctor(payloadbytes, this.username)); }