aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))