diff options
author | Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> | 2021-10-15 14:45:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 14:45:25 +0200 |
commit | ccba95a102665c34ea8252f90683c76972a045e3 (patch) | |
tree | a5e0d76596f075831c91689f6650ae3f9dbafbc7 | |
parent | 5133aa726c0d28e8cebd7fe2307e623fb9db2a51 (diff) | |
download | Luxcena-Neo-ccba95a102665c34ea8252f90683c76972a045e3.tar.gz Luxcena-Neo-ccba95a102665c34ea8252f90683c76972a045e3.zip |
:pencil2: Fix typo
-rw-r--r-- | NeoRuntime/Runtime/luxcena_neo/neo_behaviour.py | 4 |
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)) |