From 4abd2321cce0524572029d3c05aa60efe737fbf2 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sat, 14 Jun 2014 10:38:05 -0700 Subject: [PATCH] Go back to text wordbubbles --- moonlight/js/moonlight-skulk.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 9a01d4e..da279a4 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -788,7 +788,8 @@ var AISprite = function(game, x, y, key, frame) { } this.clearWordBubble = function() { - this.clear_bubble = true; + if ( this.bubble !== null ) + this.clear_bubble = true; this.enable_word_bubble = false; this.timer = game.time.create(false); console.log("In 1000 ms, " + this + " will enable speech");