diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-10-21 01:49:38 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-10-21 02:44:04 +0200 |
commit | 4aaf4a843f204252c7e91537151d25c175f7c20a (patch) | |
tree | 0cd5ba39aa1d42b146ce6174e28556aafe788c5b /NeoRuntime/Runtime/luxcena_neo | |
parent | 909265bad527a7c1e493b4e84d0e2be64114274c (diff) | |
parent | ccba95a102665c34ea8252f90683c76972a045e3 (diff) | |
download | Luxcena-Neo-4aaf4a843f204252c7e91537151d25c175f7c20a.tar.gz Luxcena-Neo-4aaf4a843f204252c7e91537151d25c175f7c20a.zip |
:twisted_rightwards_arrows: Merge branch 'master' of https://github.com/JakobST1n/Luxcena-Neo
Diffstat (limited to 'NeoRuntime/Runtime/luxcena_neo')
-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)) |