From 71939b9aa52b62efca5191c01f9b940b6e845fcd Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 9 May 2025 17:08:11 +0200 Subject: [PATCH] Fix creating new Unity things --- Unity/Participant.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unity/Participant.cs b/Unity/Participant.cs index af73e1d..9069aab 100644 --- a/Unity/Participant.cs +++ b/Unity/Participant.cs @@ -41,7 +41,7 @@ namespace RoboidControl.Unity { // // before we can create the wheel reliably // break; case RoboidControl.Thing coreThing: - if (coreThing.component != null) { + if (coreThing.component == null) { Thing thing = Thing.Create(coreThing); coreThing.component = thing; }