mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-27 22:50:22 -04:00
Move popStack to inside execute
This commit is contained in:
parent
b0441e2ef5
commit
88402ee68c
2 changed files with 2 additions and 2 deletions
src/engine
|
@ -121,8 +121,6 @@ Sequencer.prototype.stepToSubstack = function (thread, currentBlockId) {
|
|||
Sequencer.prototype.proceedThread = function (thread, currentBlockId) {
|
||||
// Stop showing run feedback in the editor.
|
||||
this.runtime.glowBlock(currentBlockId, false);
|
||||
// Pop the stack and stack frame
|
||||
thread.popStack();
|
||||
// Mark the thread as done and proceed to the next block.
|
||||
thread.status = Thread.STATUS_DONE;
|
||||
// Refresh nextBlock in case it has changed during a yield.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue