mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
Merge pull request #1649 from mzgoddard/get-attribute-stage-alt-name
Get attribute stage alt name
This commit is contained in:
commit
8aa0fa11aa
2 changed files with 6 additions and 0 deletions
|
@ -941,6 +941,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;
|
||||
|
|
BIN
test/fixtures/execute/sensing-get-attribute-of-stage-alt-name.sb2
vendored
Normal file
BIN
test/fixtures/execute/sensing-get-attribute-of-stage-alt-name.sb2
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue