mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
TilemapParser: fixed check for image collection
This commit is contained in:
parent
9ef87ad395
commit
ce603c3510
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ Phaser.TilemapParser = {
|
|||
// name, firstgid, width, height, margin, spacing, properties
|
||||
var set = json.tilesets[i];
|
||||
|
||||
if (!set.tiles)
|
||||
if (set.image)
|
||||
{
|
||||
var newSet = new Phaser.Tileset(set.name, set.firstgid, set.tilewidth, set.tileheight, set.margin, set.spacing, set.properties);
|
||||
|
||||
|
|
Loading…
Reference in a new issue