rename Stage to _stage_ when its the OBJECT input for getAttributeOf

This commit is contained in:
Michael "Z" Goddard 2018-10-09 11:27:54 -04:00
parent 42570293d6
commit bca01a9ed2
No known key found for this signature in database
GPG key ID: 762CD40DD5349872

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;