diff --git a/src/tilemaps/parsers/tiled/ParseTileLayers.js b/src/tilemaps/parsers/tiled/ParseTileLayers.js index d930742c3..7a7a5ce69 100644 --- a/src/tilemaps/parsers/tiled/ParseTileLayers.js +++ b/src/tilemaps/parsers/tiled/ParseTileLayers.js @@ -128,8 +128,8 @@ var ParseTileLayers = function (json, insertNull) tileHeight: json.tileheight, alpha: (curGroupState.opacity * curl.opacity), visible: (curGroupState.visible && curl.visible), - orientation: CONST.fromOrientationString(json.orientation), - properties: GetFastValue(curl, 'properties', []) + properties: GetFastValue(curl, 'properties', []), + orientation: CONST.fromOrientationString(json.orientation) }); @@ -208,8 +208,8 @@ var ParseTileLayers = function (json, insertNull) tileHeight: json.tileheight, alpha: (curGroupState.opacity * curl.opacity), visible: (curGroupState.visible && curl.visible), - orientation: CONST.fromOrientationString(json.orientation), - properties: GetFastValue(curl, 'properties', []) + properties: GetFastValue(curl, 'properties', []), + orientation: CONST.fromOrientationString(json.orientation) });