Fix misplaced semicolon

This commit is contained in:
Chasethechicken 2021-12-21 23:26:15 +01:00
parent 66efdebc78
commit 1ea7b45c7e

View File

@ -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;