Fix owner not set
This commit is contained in:
parent
249c48dfa1
commit
f8c6037538
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.vscode/*
|
.vscode/*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
DoxyGen/DoxyWarnLogfile.txt
|
DoxyGen/DoxyWarnLogfile.txt
|
||||||
**/__pycache__/*
|
**/__pycache__/*
|
||||||
|
RoboidControl.egg-info/
|
||||||
|
@ -58,6 +58,8 @@ class Thing:
|
|||||||
elif owner == None:
|
elif owner == None:
|
||||||
from RoboidControl.ParticipantUDP import ParticipantUDP
|
from RoboidControl.ParticipantUDP import ParticipantUDP
|
||||||
self.owner = ParticipantUDP.Isolated()
|
self.owner = ParticipantUDP.Isolated()
|
||||||
|
else:
|
||||||
|
self.owner = owner
|
||||||
|
|
||||||
## The children of this thing
|
## The children of this thing
|
||||||
self.children = []
|
self.children = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user