aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-15 14:45:25 +0200
committerGitHub <noreply@github.com>2021-10-15 14:45:25 +0200
commitccba95a102665c34ea8252f90683c76972a045e3 (patch)
treea5e0d76596f075831c91689f6650ae3f9dbafbc7
parent5133aa726c0d28e8cebd7fe2307e623fb9db2a51 (diff)
downloadLuxcena-Neo-ccba95a102665c34ea8252f90683c76972a045e3.tar.gz
Luxcena-Neo-ccba95a102665c34ea8252f90683c76972a045e3.zip
:pencil2: Fix typo
-rw-r--r--NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py b/NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py
index 6ae58fe..2eef444 100644
--- a/NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py
+++ b/NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py
@@ -266,7 +266,7 @@ class BooleanVariable(Variable):
except:
print("Attempted to set {} to \"{}\", which is not a valid bool...".format(self.name, value))
-class Trigger(self):
+class Trigger(Variable):
def __init__(self, name: str, **kwargs):
super().__init__(name, False, VariableType.TRIGGER, **kwargs)
@@ -278,4 +278,4 @@ class Trigger(self):
if value: value = False
super(BooleanVariable, type(self)).value.fset(self, value)
except:
- print("Attempted to set {} to \"{}\", which is not a valid bool...".format(self.name, value)) \ No newline at end of file
+ print("Attempted to set {} to \"{}\", which is not a valid bool...".format(self.name, value))