From 1f3a988e23c2199a2091656b8ae6bc277b1142ee Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Tue, 10 Nov 2020 19:30:06 -0500 Subject: [PATCH] i --- pattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pattern.py b/pattern.py index 8dd317f..4b24130 100644 --- a/pattern.py +++ b/pattern.py @@ -124,7 +124,7 @@ def pat(index, tick, previous_values): if 'args' in this.pattern[i]['instruction']: args = this.pattern[i]['instruction']['args'] if this.instructions[name] != None: - jump = apply(index, targets, args, this.instructions[name]) + jump = apply(i, targets, args, this.instructions[name]) if jump != i and jump < len(this.pattern) - 1: i = jump - 1 r = this.values["r"]