From b9d7ae2e20294682c5e62757b7fa703be02907ad Mon Sep 17 00:00:00 2001 From: Glax Date: Thu, 14 Dec 2023 19:39:44 +0100 Subject: [PATCH] Fied wrong config variable name portSend --- OSCCollar/OSCCollar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSCCollar/OSCCollar.cs b/OSCCollar/OSCCollar.cs index 99cdaeb..810d48f 100644 --- a/OSCCollar/OSCCollar.cs +++ b/OSCCollar/OSCCollar.cs @@ -14,7 +14,7 @@ public class OSCCollar var jObject = JObject.Parse(File.ReadAllText(configFilePath)); string ip = jObject.GetValue("ip")?.ToObject() ?? "127.0.0.1"; int portReceive = jObject.GetValue("portReceive")?.ToObject() ?? 9001; - int portSend = jObject.GetValue("portReceive")?.ToObject() ?? 9000; + int portSend = jObject.GetValue("portSend")?.ToObject() ?? 9000; double radius = jObject.GetValue("radius")?.ToObject() ?? 100; double calibrationX = jObject.GetValue("calibrationX")?.ToObject() ?? 0; double calibrationY = jObject.GetValue("calibrationY")?.ToObject() ?? 0;