From ccd91db4149dab301db183f64901e47b58e28c4c Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sun, 15 Jun 2014 19:35:10 -0700 Subject: [PATCH] Size wordbubbles to text --- moonlight/js/moonlight-skulk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 4af9442..f02597d 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -847,7 +847,7 @@ var AISprite = function(game, x, y, key, frame) { this.bubble_sprite.x = this.x + 16; this.bubble_sprite.y = this.y; var tx = this.bubble_sprite.x + 8 - (this.text_size[0]/2); - var ty = this.bubble_sprite.y + 8 - (this.text_size[1]/2); + var ty = this.bubble_sprite.y + 8 - (this.text_size[1]); this.bubble_text.position.x = tx; this.bubble_text.position.y = ty; }