This commit is contained in:
jane 2020-11-09 00:50:37 -05:00
parent 1cafd5593a
commit fb2bfa79e0
1 changed files with 3 additions and 3 deletions

View File

@ -56,9 +56,9 @@ def default(index, tick):
def pat(index, tick, previous_values):
if this.pattern != None:
for i in range(len(this.pattern)):
name = this.pattern[i].instruction.name
targets = this.pattern[i].instruction.targets
args = this.pattern[i].instructions.args
name = this.pattern[i]['instruction']['name']
targets = this.pattern[i]['instruction']['targets']
args = this.pattern[i]['instruction']['args']
if this.instructions[name] != None:
apply(targets, args, this.instructions[name])
r = this.values["r"]