aboutsummaryrefslogtreecommitdiff
path: root/NeoRuntime/builtin/rainbow/script.py
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-12-24 15:10:08 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-12-24 15:10:08 +0100
commit1457438493604b899e7929c95a3707b71e63f1e2 (patch)
tree896b537e3fded17458d314a91f3f89e240c92c4a /NeoRuntime/builtin/rainbow/script.py
parentc06882e58a7e30928ccf6366e4265548f54218c2 (diff)
downloadLuxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.tar.gz
Luxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.zip
Fix bugs in builtin scripts
Diffstat (limited to 'NeoRuntime/builtin/rainbow/script.py')
-rw-r--r--NeoRuntime/builtin/rainbow/script.py2
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