From 394ede84a929609f595dd9901d8fb7ec7a862818 Mon Sep 17 00:00:00 2001 From: spayton Date: Thu, 23 Oct 2014 13:05:21 +0100 Subject: [PATCH] changed function call wordWrap() to runWordWrap() --- src/gameobjects/Text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/Text.js b/src/gameobjects/Text.js index 1cc32148b..31ac9518c 100644 --- a/src/gameobjects/Text.js +++ b/src/gameobjects/Text.js @@ -359,7 +359,7 @@ Phaser.Text.prototype.updateText = function () { if (this.style.wordWrap) { - outputText = this.wordWrap(this.text); + outputText = this.runWordWrap(this.text); } //split text into lines