From 980ed288656a4ec1621b69d24948a8d9f162be12 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sat, 14 Jun 2014 10:29:16 -0700 Subject: [PATCH] Go back to text wordbubbles --- moonlight/js/moonlight-skulk.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 1157b3c..a599068 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -791,9 +791,8 @@ var AISprite = function(game, x, y, key, frame) { this.clear_bubble = true; this.enable_word_bubble = false; this.timer = game.time.create(false); - var timerdelta = 20000 + (game.rnd.integerInRange(0, 30) * 1000); - console.log("In " + timerdelta + " ms, " + this + " will enable speech"); - timerev = this.timer.add(timerdelta, this.enableWordBubble, this); + console.log("In 1000 ms, " + this + " will enable speech"); + timerev = this.timer.add(1000, this.enableWordBubble, this); this.timer.start() }