mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Merge pull request #4984 from Nightspeller/issue#4983
Proposed fix for the issue#4983
This commit is contained in:
commit
91bfd7d0c2
2 changed files with 4 additions and 4 deletions
|
@ -149,10 +149,10 @@ var LayerData = new Class({
|
|||
* Layer specific properties (can be specified in Tiled)
|
||||
*
|
||||
* @name Phaser.Tilemaps.LayerData#properties
|
||||
* @type {object}
|
||||
* @type {object[]}
|
||||
* @since 3.0.0
|
||||
*/
|
||||
this.properties = GetFastValue(config, 'properties', {});
|
||||
this.properties = GetFastValue(config, 'properties', []);
|
||||
|
||||
/**
|
||||
* [description]
|
||||
|
|
|
@ -127,7 +127,7 @@ var ParseTileLayers = function (json, insertNull)
|
|||
tileHeight: json.tileheight,
|
||||
alpha: (curGroupState.opacity * curl.opacity),
|
||||
visible: (curGroupState.visible && curl.visible),
|
||||
properties: GetFastValue(curl, 'properties', {})
|
||||
properties: GetFastValue(curl, 'properties', [])
|
||||
});
|
||||
|
||||
for (var c = 0; c < curl.height; c++)
|
||||
|
@ -200,7 +200,7 @@ var ParseTileLayers = function (json, insertNull)
|
|||
tileHeight: json.tileheight,
|
||||
alpha: (curGroupState.opacity * curl.opacity),
|
||||
visible: (curGroupState.visible && curl.visible),
|
||||
properties: GetFastValue(curl, 'properties', {})
|
||||
properties: GetFastValue(curl, 'properties', [])
|
||||
});
|
||||
|
||||
var row = [];
|
||||
|
|
Loading…
Reference in a new issue