Fix misplaced semicolon
This commit is contained in:
parent
66efdebc78
commit
1ea7b45c7e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue