Fix owner not set

This commit is contained in:
Pascal Serrarens 2025-04-29 12:04:29 +02:00
parent 249c48dfa1
commit f8c6037538
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.vscode/*
.DS_Store
DoxyGen/DoxyWarnLogfile.txt
**/__pycache__/*
**/__pycache__/*
RoboidControl.egg-info/

View File

@ -58,6 +58,8 @@ class Thing:
elif owner == None:
from RoboidControl.ParticipantUDP import ParticipantUDP
self.owner = ParticipantUDP.Isolated()
else:
self.owner = owner
## The children of this thing
self.children = []