Remove redundant piece of code

The stack is pushed in after the thread finishes (`proceedThread`).
This commit is contained in:
Tim Mickel 2016-06-10 08:41:44 -04:00
parent 526a260101
commit 559a2a0fab

View file

@ -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);