mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-26 22:20:41 -04:00
Changing parsing of custom procedures for new style
This commit is contained in:
parent
e4830dfe51
commit
b0870518a4
4 changed files with 31 additions and 11 deletions
src/engine
|
@ -148,6 +148,8 @@ const execute = function (sequencer, thread) {
|
|||
// Recursively evaluate input blocks.
|
||||
for (const inputName in inputs) {
|
||||
if (!inputs.hasOwnProperty(inputName)) continue;
|
||||
// Do not evaluate the internal custom command block within definition
|
||||
if (inputName === 'custom_block') continue;
|
||||
const input = inputs[inputName];
|
||||
const inputBlockId = input.block;
|
||||
// Is there no value for this input waiting in the stack frame?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue