rename Stage to _stage_ when its the OBJECT input for getAttributeOf

This commit is contained in:
Michael "Z" Goddard committed 2018-11-01 12:33:56 -04:00
1 parent 42570293d6
commit bca01a9ed2
1 file changed
+6
+6
View File
@@ -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;