summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--objects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/objects.js b/objects.js
index 27d8964..552bf8e 100644
--- a/objects.js
+++ b/objects.js
@@ -1219,7 +1219,7 @@ SpriteMorph.prototype.initBlockMigrations = function () {
},
receiveClick: {
selector: 'receiveInteraction',
- inputs: [['I am clicked']]
+ inputs: [['clicked']]
}
};
};
@@ -1602,7 +1602,7 @@ SpriteMorph.prototype.blockForSelector = function (selector, setDefaults) {
: new ReporterBlockMorph(info.type === 'predicate');
block.color = this.blockColor[info.category];
block.category = info.category;
- block.selector = selector;
+ block.selector = migration ? migration.selector : selector;
if (contains(['reifyReporter', 'reifyPredicate'], block.selector)) {
block.isStatic = true;
}