From 0984e7eaad611b7951e0a161269d171d00d4cb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Thu, 17 Dec 2020 22:35:38 +0100 Subject: [PATCH] Fix linting --- front/src/Phaser/Menu/MenuScene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts index cdf27a14..e0817d39 100644 --- a/front/src/Phaser/Menu/MenuScene.ts +++ b/front/src/Phaser/Menu/MenuScene.ts @@ -43,7 +43,7 @@ export class MenuScene extends Phaser.Scene { this.menuElement.setOrigin(0); this.revealMenusAfterInit(this.menuElement, 'gameMenu'); - let middleX = (window.innerWidth / 3) - 298; + const middleX = (window.innerWidth / 3) - 298; this.gameQualityMenuElement = this.add.dom(middleX, -400).createFromCache(gameSettingsMenuKey); this.revealMenusAfterInit(this.gameQualityMenuElement, 'gameQuality');