Merge pull request #2412 from MannyC/keep_tiled_layer_encoding_synced

Remove encoding metadata from Tiled json if data has already had its …
This commit is contained in:
Richard Davey 2016-04-04 17:07:31 +01:00
commit 2c87d14ede

View file

@ -249,6 +249,7 @@ Phaser.TilemapParser = {
binaryString.charCodeAt(j+3) << 24) >>> 0;
}
curl.data = bytes;
delete curl.encoding;
}
else if(curl.compression){
console.warn('TilemapParser.parseTiledJSON - Layer compression is unsupported, skipping layer \'' + curl.name + '\'');