diff --git a/src/tilemaps/parsers/tiled/ParseJSONTiled.js b/src/tilemaps/parsers/tiled/ParseJSONTiled.js index 39d80bb93..8402e68b9 100644 --- a/src/tilemaps/parsers/tiled/ParseJSONTiled.js +++ b/src/tilemaps/parsers/tiled/ParseJSONTiled.js @@ -12,6 +12,7 @@ var ParseTilesets = require('./ParseTilesets'); var ParseObjectLayers = require('./ParseObjectLayers'); var BuildTilesetIndex = require('./BuildTilesetIndex'); var AssignTileProperties = require('./AssignTileProperties'); +var GetFastValue = require('../../../utils/object/GetFastValue'); /** * @namespace Phaser.Tilemaps.Parsers.Tiled @@ -52,7 +53,8 @@ var ParseJSONTiled = function (name, json, insertNull) orientation: json.orientation, format: Formats.TILED_JSON, version: json.version, - properties: json.properties + properties: json.properties, + renderOrder: json.renderorder }); mapData.layers = ParseTileLayers(json, insertNull);