diff --git a/src/Participant.cs b/src/Participant.cs index 936fd3c..3276855 100644 --- a/src/Participant.cs +++ b/src/Participant.cs @@ -29,6 +29,10 @@ namespace RoboidControl { public Participant(string ipAddress, int port, Participant localParticipant = null) { this.ipAddress = ipAddress; this.port = port; + + this.root = Thing.CreateRoot(this); + this.root.name = "Root"; + if (localParticipant != null) this.udpClient = localParticipant.udpClient; } @@ -39,7 +43,6 @@ namespace RoboidControl { } public Thing root = null; - /// /// The Ip Address of a participant. When the participant is local, this contains 0.0.0.0 ///