summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/objects.js b/objects.js
index d4f5cb0..cf56086 100644
--- a/objects.js
+++ b/objects.js
@@ -2912,6 +2912,10 @@ SpriteMorph.prototype.removeClone = function () {
// SpriteMorph primitives
SpriteMorph.prototype.isTouching = function (other) {
+ // TODO: workaround, look at this later again
+ // isTouching seems to be used with other != SpriteMorph
+ if (other instanceof SpeechBubbleMorph) return false;
+
var me = L.latLng(this.yPosition(), this.xPosition());
target = L.latLng(other.yPosition(), other.xPosition());