diff --git a/src/engine/thread.js b/src/engine/thread.js index 26f8de5f42..c423d8e855 100644 --- a/src/engine/thread.js +++ b/src/engine/thread.js @@ -427,7 +427,7 @@ class Thread { * Continue the current running loop onto the next iteration. */ continueCurrentLoop () { - const stackFrame = this.peekStackFrame(); + const blocks = this.blockContainer, stackFrame = this.peekStackFrame(); if (!stackFrame._continueData) { let frameData = false;