mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-28 07:10:27 -04:00
Remove redundant piece of code
The stack is pushed in after the thread finishes (`proceedThread`).
This commit is contained in:
parent
526a260101
commit
559a2a0fab
1 changed files with 0 additions and 5 deletions
|
@ -88,11 +88,6 @@ Sequencer.prototype.startThread = function (thread) {
|
|||
// Start showing run feedback in the editor.
|
||||
this.runtime.glowBlock(currentBlockId, true);
|
||||
|
||||
// Push the current block to the stack, if executing for the first time.
|
||||
if (thread.peekStack() != currentBlockId) {
|
||||
thread.pushStack(currentBlockId);
|
||||
}
|
||||
|
||||
// Execute the current block
|
||||
execute(this, thread);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue