From 2267569c8d5b7fddc16e66b94f1e9cfb0d5b9af0 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 9 Jun 2022 16:32:23 +0100 Subject: [PATCH] Fixed lint --- src/core/operations/ConditionalJump.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/operations/ConditionalJump.mjs b/src/core/operations/ConditionalJump.mjs index b0c65ddd..74bf1d21 100644 --- a/src/core/operations/ConditionalJump.mjs +++ b/src/core/operations/ConditionalJump.mjs @@ -74,8 +74,7 @@ class ConditionalJump extends Operation { if (!invert && strMatch || invert && !strMatch) { state.progress = jmpIndex; state.numJumps++; - } - else { + } else { state.numJumps = 0; } }