This commit is contained in:
jane 2020-11-10 19:44:13 -05:00
parent b319162e0a
commit 6e86047aa8

View file

@ -127,7 +127,7 @@ def pat(index, tick, previous_values):
args = this.pattern[i]['instruction']['args'] args = this.pattern[i]['instruction']['args']
if this.instructions[name] != None: if this.instructions[name] != None:
jump = apply(i, targets, args, this.instructions[name]) jump = apply(i, targets, args, this.instructions[name])
#print("{} {} {}".format(jump, i, len(this.pattern))) print("{} {} {}".format(jump, i, len(this.pattern)))
if jump != i and jump <= len(this.pattern): if jump != i and jump <= len(this.pattern):
i = jump - 1 i = jump - 1
r = this.values["r"] r = this.values["r"]