diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-12-24 15:10:08 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-12-24 15:10:08 +0100 |
commit | 1457438493604b899e7929c95a3707b71e63f1e2 (patch) | |
tree | 896b537e3fded17458d314a91f3f89e240c92c4a /NeoRuntime/builtin/rainbow | |
parent | c06882e58a7e30928ccf6366e4265548f54218c2 (diff) | |
download | Luxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.tar.gz Luxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.zip |
Fix bugs in builtin scripts
Diffstat (limited to 'NeoRuntime/builtin/rainbow')
-rw-r--r-- | NeoRuntime/builtin/rainbow/script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NeoRuntime/builtin/rainbow/script.py b/NeoRuntime/builtin/rainbow/script.py index 292ef97..fd9e21c 100644 --- a/NeoRuntime/builtin/rainbow/script.py +++ b/NeoRuntime/builtin/rainbow/script.py @@ -26,7 +26,7 @@ class Main(NeoBehaviour): def each_tick(self): """Draw rainbow that fades across all pixels at once.""" - if (perf_counter() - self.last_inst) > (1.01-self.var.Speed): + if (perf_counter() - self.last_inst) > (1.01-self.var.speed): self.last_inst = perf_counter() self.j += 1 if self.j >= 256: self.j = 0 |