Add missing update event
This commit is contained in:
parent
63b5a75618
commit
e646326aa3
@ -117,8 +117,14 @@ namespace RoboidControl {
|
|||||||
else
|
else
|
||||||
this.parent = parent;
|
this.parent = parent;
|
||||||
|
|
||||||
this.owner = parent.owner;
|
this.owner = this.parent.owner;
|
||||||
this.owner.Add(this, true);
|
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) {
|
public static Thing CreateRemote(Participant owner, byte thingType, byte thingId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user