Merge pull request #1440 from paul-reilly/dev

TilemapParser: fixed check for image collection
This commit is contained in:
Richard Davey 2014-12-10 23:10:53 +00:00
commit 46776956e0

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