Fix: IE10 bug - let, const -> var
This commit is contained in:
@@ -21,7 +21,7 @@ function WelcomePlayerText(playerName) {
|
||||
this.strokeThickness = 5;
|
||||
|
||||
this.alpha = 1;
|
||||
let tweenAlpha = game.add.tween(this);
|
||||
var tweenAlpha = game.add.tween(this);
|
||||
tweenAlpha.to( { alpha: 0 }, Phaser.Timer.SECOND * 2, Phaser.Easing.Back.In, true);
|
||||
|
||||
game.add.existing(this);
|
||||
|
||||
Reference in New Issue
Block a user