From f8c6037538a13fd0eae4dd99c931487b10c6cf7a Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 29 Apr 2025 12:04:29 +0200 Subject: [PATCH] Fix owner not set --- .gitignore | 3 ++- RoboidControl/Thing.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e474614..08fe51f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .vscode/* .DS_Store DoxyGen/DoxyWarnLogfile.txt -**/__pycache__/* \ No newline at end of file +**/__pycache__/* +RoboidControl.egg-info/ diff --git a/RoboidControl/Thing.py b/RoboidControl/Thing.py index fd6c6d2..580e8d8 100644 --- a/RoboidControl/Thing.py +++ b/RoboidControl/Thing.py @@ -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 = []