From 18528c8cf804015b3acb30af6f8e9bee1054e6e3 Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Mon, 9 Nov 2020 01:35:07 -0500 Subject: [PATCH] fix index and tick --- pattern.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pattern.py b/pattern.py index 0b8e766..16222c2 100644 --- a/pattern.py +++ b/pattern.py @@ -80,6 +80,8 @@ def default(index, tick): def pat(index, tick, previous_values): + this.values['tick'] = tick + this.values['index'] = index if this.pattern != None: for i in range(len(this.pattern)): name = this.pattern[i]['instruction']['name']