mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-11 13:59:23 -04:00
Only include field value in execute.argValues
This commit is contained in:
parent
bcd058bdc4
commit
a987d9d9cc
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ var execute = function (sequencer, thread, blockId) {
|
|||
// Add all fields on this block to the argValues.
|
||||
var fields = runtime.blocks.getFields(blockId);
|
||||
for (var fieldName in fields) {
|
||||
argValues[fieldName] = fields[fieldName];
|
||||
argValues[fieldName] = fields[fieldName].value;
|
||||
}
|
||||
|
||||
// Recursively evaluate input blocks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue