From ccba95a102665c34ea8252f90683c76972a045e3 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:45:25 +0200 Subject: :pencil2: Fix typo --- NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NeoRuntime/Runtime') 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)) -- cgit v1.2.3