tick once before starting

This commit is contained in:
janeptrv 2020-11-07 16:10:01 -05:00
parent 3d017e1ec7
commit 6ee892d23b
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ class LightStrip:
np = self.np
t = self.cur_tick
n = np.n
if not len(self.cur_pattern) >= n - 1:
self.get_next_pattern_tick()
changes = 0
ind = self.cur_index
for i in range(ind, n):