From 4ab701c7dd14866db0e7a6caaf61a6250dda982a Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 9 Oct 2020 17:59:18 +0200 Subject: [PATCH] fixed showing message senders if there are comments in scripts --- HISTORY.md | 4 ++++ snap.html | 2 +- src/objects.js | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 6737770d..47f71725 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,9 +4,13 @@ * **Documentation Updates:** * Reference manual update +* **Notable Fixes:** + * fixed showing message senders if there are comments in scripts + ### 2020-10-09 * new dev version +* objects: fixed showing message senders if there are comments in scripts ## 6.2.3 * **Notable Fixes:** diff --git a/snap.html b/snap.html index 11179d67..89a2096e 100755 --- a/snap.html +++ b/snap.html @@ -10,7 +10,7 @@ - + diff --git a/src/objects.js b/src/objects.js index 32ed4a8d..bb5bf680 100644 --- a/src/objects.js +++ b/src/objects.js @@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph, localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph, AlignmentMorph, Process, WorldMap, copyCanvas, useBlurredShadows*/ -modules.objects = '2020-October-06'; +modules.objects = '2020-October-09'; var SpriteMorph; var StageMorph; @@ -5775,7 +5775,7 @@ SpriteMorph.prototype.allMessageNames = function () { SpriteMorph.prototype.allSendersOf = function (message, receiverName, known) { return this.allScripts().filter(script => - script.isSending(message, receiverName, known) + script.isSending && script.isSending(message, receiverName, known) ); };