diff --git a/src/tilemaps/mapdata/MapData.js b/src/tilemaps/mapdata/MapData.js index 1a19fda94..1cbb48f92 100644 --- a/src/tilemaps/mapdata/MapData.js +++ b/src/tilemaps/mapdata/MapData.js @@ -173,10 +173,10 @@ var MapData = new Class({ * An object of Tiled Object Layers. * * @name Phaser.Tilemaps.MapData#objects - * @type {object} + * @type {Phaser.Types.Tilemaps.ObjectLayerConfig[]} * @since 3.0.0 */ - this.objects = GetFastValue(config, 'objects', {}); + this.objects = GetFastValue(config, 'objects', []); /** * An object of collision data. Must be created as physics object or will return undefined.