Merge pull request #2429 from lewispollard/dev

Alter BitmapText to use toString on text parameter in constructor
This commit is contained in:
Richard Davey 2016-04-13 15:40:15 +01:00
commit 9c972d241e

View file

@ -113,7 +113,7 @@ Phaser.BitmapText = function (game, x, y, font, text, size, align) {
* @property {string} _text - Internal cache var.
* @private
*/
this._text = text;
this._text = text.toString() || '';
/**
* @property {string} _data - Internal cache var.