diff --git a/src/pixi/text/Text.js b/src/pixi/text/Text.js index 4a3d89f..6645cc8 100644 --- a/src/pixi/text/Text.js +++ b/src/pixi/text/Text.js @@ -68,7 +68,7 @@ * @methos setText * @param {String} text The copy that you would like the text to display */ -PIXI.Sprite.prototype.setText = function(text) +PIXI.Text.prototype.setText = function(text) { this.text = text.toString() || " "; this.dirty = true;