Go back to text wordbubbles

This commit is contained in:
2014-06-14 10:18:46 -07:00
parent 5de956bc6b
commit eaad61aa4f

View File

@@ -791,7 +791,9 @@ var AISprite = function(game, x, y, key, frame) {
this.clear_bubble = true;
this.enable_word_bubble = false;
timer = game.time.create(false);
timerev = timer.add(20000 + (game.rnd.integerInRange(0, 30) * 1000), this.enableWordBubble, this);
var timerdelta = 20000 + (game.rnd.integerInRange(0, 30) * 1000);
console.log("In " + timerdelta + " ms, " + this + " will enable speech");
timerev = timer.add(timerdelta, this.enableWordBubble, this);
timer.start()
}