Fix: apply random word level
This commit is contained in:
@@ -9,6 +9,11 @@ function ScoreText(x, y, score) {
|
||||
else if(scoreValue < 0)
|
||||
Phaser.Text.call(this, game, x, y, NumberUtil.numberWithCommas(score), ScoreText.DEFAULT_TEXT_FONT);
|
||||
|
||||
if(this == undefined) {
|
||||
this.destroy();
|
||||
return;
|
||||
}
|
||||
|
||||
this.anchor.set(0.5);
|
||||
this.inputEnabled = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user