Skip to content
Snippets Groups Projects
Commit 084a4749 authored by DD's avatar DD
Browse files

revert changes to sensing of

parent 10244dde
Branches
Tags
No related merge requests found
......@@ -126,16 +126,9 @@ export default function (vm) {
};
ScratchBlocks.Blocks.sensing_of_object_menu.init = function () {
const start = [
const json = jsonForMenuBlock('OBJECT', spriteMenu, sensingColors, [
['Stage', '_stage_']
];
if (vm.editingTarget) {
start.splice(0, 0,
[vm.editingTarget.sprite.name, vm.editingTarget.sprite.name]
);
}
const json = jsonForMenuBlock('OBJECT', spriteMenu, sensingColors, start);
]);
this.jsonInit(json);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment