Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop

This commit is contained in:
_Bastler 2022-02-16 09:16:54 +01:00
commit dca2cc3c6c

View File

@ -1451,7 +1451,7 @@ export class GameScene extends DirtyScene {
phaserLayer.setCollisionByProperty({ collides: true }, visible); phaserLayer.setCollisionByProperty({ collides: true }, visible);
} else { } else {
const phaserLayers = this.gameMap.findPhaserLayers(layerName + "/"); const phaserLayers = this.gameMap.findPhaserLayers(layerName + "/");
if (phaserLayers === []) { if (phaserLayers.length === 0) {
console.warn( console.warn(
'Could not find layer with name that contains "' + 'Could not find layer with name that contains "' +
layerName + layerName +