diff options
Diffstat (limited to 'NeoRuntime/builtin/rainbow/script.py')
-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 |