mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-22 20:19:05 -04:00
rename Stage to _stage_ when its the OBJECT input for getAttributeOf
This commit is contained in:
parent
42570293d6
commit
bca01a9ed2
1 changed files with 6 additions and 0 deletions
|
@ -918,6 +918,12 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension
|
|||
if (shadowObscured) {
|
||||
fieldValue = '';
|
||||
}
|
||||
} else if (expectedArg.inputOp === 'sensing_of_object_menu') {
|
||||
if (shadowObscured) {
|
||||
fieldValue = '_stage_';
|
||||
} else if (fieldValue === 'Stage') {
|
||||
fieldValue = '_stage_';
|
||||
}
|
||||
} else if (expectedArg.inputOp === 'music.menu.DRUM') {
|
||||
if (shadowObscured) {
|
||||
fieldValue = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue