Skip to content

Commit 27c7fed

Browse files
authored
Merge pull request #7053 from Snoturky/patch-1
Change imageCollections default Tileset values from `null` to `undefined`
2 parents 3e79ee5 + 59edef2 commit 27c7fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tilemaps/parsers/tiled/BuildTilesetIndex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var BuildTilesetIndex = function (mapData)
3535
y: image.height - mapData.tileHeight
3636
};
3737

38-
set = new Tileset(image.image, image.gid, image.width, image.height, 0, 0, null, null, offset);
38+
set = new Tileset(image.image, image.gid, image.width, image.height, 0, 0, undefined, undefined, offset);
3939

4040
set.updateTileData(image.width, image.height);
4141

0 commit comments

Comments
 (0)