From 1457438493604b899e7929c95a3707b71e63f1e2 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Sat, 24 Dec 2022 15:10:08 +0100 Subject: Fix bugs in builtin scripts --- NeoRuntime/builtin/rainbow/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NeoRuntime/builtin/rainbow/script.py') 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 -- cgit v1.2.3