Map costumeName -> costumenumbername [name]
...instead of mapping to a new obsolete/hidden block 'costumename'. Thanks to @kchadha for helping with this!
This commit is contained in:
1 parent
93d6b23772
commit
24c6338302
2 files changed
+7
-1
No files matched your search
@@ -954,6 +954,12 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension
|
||||
value: 'number'
|
||||
};
|
||||
break;
|
||||
case 'costumeName':
|
||||
activeBlock.fields.NUMBER_NAME = {
|
||||
name: 'NUMBER_NAME',
|
||||
value: 'name'
|
||||
};
|
||||
break;
|
||||
}
|
||||
|
||||
// Special cases to generate mutations.
|
||||
|
||||
@@ -429,7 +429,7 @@ const specMap = {
|
||||
]
|
||||
},
|
||||
'costumeName': {
|
||||
opcode: 'looks_costumename',
|
||||
opcode: 'looks_costumenumbername',
|
||||
argMap: [
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user