[Editor] Fix image map layer deserialization

This commit is contained in:
2023-11-07 16:52:17 +01:00
parent e1ea66ccb3
commit ff59184d93

View File

@@ -45,7 +45,7 @@ open class ProtobufMapDeserializer : BinaryMapDeserializer {
map.javaImports = proto.javaImports
proto.layersList
.filter { it.hasTileLayer() || it.hasAutoTileLayer() || it.hasObjectLayer() || it.hasColorLayer() }
.filter { it.hasTileLayer() || it.hasAutoTileLayer() || it.hasObjectLayer() || it.hasColorLayer() || it.hasImageLayer() }
.forEach { map.layers.add(deserializeLayer(map.rows, map.columns, it, replaceTileSet, replaceAutoTile)) }
return map