Merge pull request #1649 from mzgoddard/get-attribute-stage-alt-name

Get attribute stage alt name
This commit is contained in:
Karishma Chadha 2018-11-07 17:47:44 -05:00 committed by GitHub
commit 8aa0fa11aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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;

Binary file not shown.