This commit is contained in:
picklesrus 2018-11-28 12:34:49 -05:00
parent eefe021425
commit 90b627982c

View file

@ -569,7 +569,7 @@ class Blocks {
}
// The selected item in the sensing of block menu needs to change based on the
// selected target. Set it to the first item in the menu list.
// TODO: https://github.com/LLK/scratch-vm/issues/1787
// TODO: (#1787)
if (block.opcode === 'sensing_of_object_menu') {
if (block.fields.OBJECT.value === '_stage_') {
this._blocks[block.parent].fields.PROPERTY.value = 'backdrop #';