fix index and tick

This commit is contained in:
jane 2020-11-09 01:35:07 -05:00
parent 2dd0c09c86
commit 18528c8cf8

View file

@ -80,6 +80,8 @@ def default(index, tick):
def pat(index, tick, previous_values): def pat(index, tick, previous_values):
this.values['tick'] = tick
this.values['index'] = index
if this.pattern != None: if this.pattern != None:
for i in range(len(this.pattern)): for i in range(len(this.pattern)):
name = this.pattern[i]['instruction']['name'] name = this.pattern[i]['instruction']['name']