From e646326aa31b7cc73ecfca89b3b1f2b85f024e42 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Wed, 28 May 2025 12:49:52 +0200 Subject: [PATCH] Add missing update event --- src/Thing.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Thing.cs b/src/Thing.cs index 72a54b1..a231304 100644 --- a/src/Thing.cs +++ b/src/Thing.cs @@ -117,8 +117,14 @@ namespace RoboidControl { else this.parent = parent; - this.owner = parent.owner; + this.owner = this.parent.owner; this.owner.Add(this, true); + + Participant.UpdateEvent e = new() { + messageId = ThingMsg.id, + thing = this + }; + this.owner.updateQueue.Enqueue(e); } public static Thing CreateRemote(Participant owner, byte thingType, byte thingId) {