Fix misplaced semicolon
This commit is contained in:
parent
66efdebc78
commit
1ea7b45c7e
@ -84,10 +84,11 @@ export class GameMap {
|
|||||||
this.phaserLayers.push(
|
this.phaserLayers.push(
|
||||||
phaserMap
|
phaserMap
|
||||||
.createLayer(layer.name, terrains, (layer.x || 0) * 32, (layer.y || 0) * 32)
|
.createLayer(layer.name, terrains, (layer.x || 0) * 32, (layer.y || 0) * 32)
|
||||||
.setDepth(depth));
|
.setDepth(depth)
|
||||||
.setAlpha(layer.opacity)
|
.setAlpha(layer.opacity)
|
||||||
.setVisible(layer.visible)
|
.setVisible(layer.visible)
|
||||||
.setSize(layer.width, layer.height)
|
.setSize(layer.width, layer.height)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (layer.type === "objectgroup" && layer.name === "floorLayer") {
|
if (layer.type === "objectgroup" && layer.name === "floorLayer") {
|
||||||
depth = DEPTH_OVERLAY_INDEX;
|
depth = DEPTH_OVERLAY_INDEX;
|
||||||
|
Loading…
Reference in New Issue
Block a user