diff options
| author | Bernat Romagosa <bromagosa@dosta.net> | 2015-06-09 12:40:55 +0200 |
|---|---|---|
| committer | Bernat Romagosa <bromagosa@dosta.net> | 2015-06-09 12:40:55 +0200 |
| commit | 26108539f5639061a66862ed066c8df8342a097c (patch) | |
| tree | c9bee0031b68ade26a96386af1060c6695afb912 | |
| parent | 03c4acd367dabe946f8091c7ad55f059ad919579 (diff) | |
| download | snap-26108539f5639061a66862ed066c8df8342a097c.tar.gz snap-26108539f5639061a66862ed066c8df8342a097c.zip | |
fixes #815
| -rw-r--r-- | objects.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3509,7 +3509,10 @@ SpriteMorph.prototype.allHatBlocksFor = function (message) { if (morph.selector) { if (morph.selector === 'receiveMessage') { event = morph.inputs()[0].evaluate(); - return event === message || (event instanceof Array); + return event === message + || (event instanceof Array + && message !== '__shout__go__' + && message !== '__clone__init__'); } if (morph.selector === 'receiveGo') { return message === '__shout__go__'; |
