diff --git a/src/tilemaps/parsers/tiled/ParseTileLayers.js b/src/tilemaps/parsers/tiled/ParseTileLayers.js index dc7a24207..67db6283c 100644 --- a/src/tilemaps/parsers/tiled/ParseTileLayers.js +++ b/src/tilemaps/parsers/tiled/ParseTileLayers.js @@ -128,8 +128,9 @@ var ParseTileLayers = function (json, insertNull) tileHeight: json.tileheight, alpha: (curGroupState.opacity * curl.opacity), visible: (curGroupState.visible && curl.visible), - properties: GetFastValue(curl, 'properties', {}), - orientation: CONST.fromOrientationString(json.orientation) + orientation: CONST.fromOrientationString(json.orientation), + properties: GetFastValue(curl, 'properties', {}) + }); if (layerData.orientation === CONST.HEXAGONAL) @@ -207,8 +208,9 @@ var ParseTileLayers = function (json, insertNull) tileHeight: json.tileheight, alpha: (curGroupState.opacity * curl.opacity), visible: (curGroupState.visible && curl.visible), - properties: GetFastValue(curl, 'properties', {}), - orientation: CONST.fromOrientationString(json.orientation) + orientation: CONST.fromOrientationString(json.orientation), + properties: GetFastValue(curl, 'properties', {}) + }); if (layerData.orientation === CONST.HEXAGONAL)