mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 15:41:37 +00:00
Merge pull request #1440 from paul-reilly/dev
TilemapParser: fixed check for image collection
This commit is contained in:
commit
46776956e0
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