From 1ea7b45c7efa88ef86ddd5d44b09ca29f61deb2d Mon Sep 17 00:00:00 2001 From: Chasethechicken Date: Tue, 21 Dec 2021 23:26:15 +0100 Subject: [PATCH] Fix misplaced semicolon --- front/src/Phaser/Game/GameMap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/Phaser/Game/GameMap.ts b/front/src/Phaser/Game/GameMap.ts index 20c78347..53ac6020 100644 --- a/front/src/Phaser/Game/GameMap.ts +++ b/front/src/Phaser/Game/GameMap.ts @@ -84,10 +84,11 @@ export class GameMap { this.phaserLayers.push( phaserMap .createLayer(layer.name, terrains, (layer.x || 0) * 32, (layer.y || 0) * 32) - .setDepth(depth)); + .setDepth(depth) .setAlpha(layer.opacity) .setVisible(layer.visible) .setSize(layer.width, layer.height) + ); } if (layer.type === "objectgroup" && layer.name === "floorLayer") { depth = DEPTH_OVERLAY_INDEX;