TilemapParser: fixed check for image collection

This commit is contained in:
paul-reilly 2014-12-10 22:42:17 +00:00
parent 9ef87ad395
commit ce603c3510

View file

@ -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);