Fixing use const instead of let
This commit is contained in:
parent
54f2518b5e
commit
8348d13bfe
17 changed files with 116 additions and 116 deletions
|
@ -67,7 +67,7 @@ export class LoginScene extends Phaser.Scene {
|
|||
this.logo = new Image(this, this.game.renderer.width - 30, this.game.renderer.height - 20, LoginTextures.icon);
|
||||
this.add.existing(this.logo);
|
||||
|
||||
let infoText = "Commands: \n - Arrows or Z,Q,S,D to move\n - SHIFT to run";
|
||||
const infoText = "Commands: \n - Arrows or Z,Q,S,D to move\n - SHIFT to run";
|
||||
this.infoTextField = new TextField(this, 10, this.game.renderer.height - 35, infoText);
|
||||
|
||||
this.input.keyboard.on('keyup-ENTER', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue