diff --git a/src/tilemaps/components/PutTileAt.js b/src/tilemaps/components/PutTileAt.js index edf250dac..656f54512 100644 --- a/src/tilemaps/components/PutTileAt.js +++ b/src/tilemaps/components/PutTileAt.js @@ -78,7 +78,7 @@ var PutTileAt = function (tile, tileX, tileY, recalculateFaces, layer) var tilemap = layer.tilemapLayer.tilemap; var tiles = tilemap.tiles; var sid = tiles[index][2]; - var set = tilemap.tileset[sid]; + var set = tilemap.tilesets[sid]; newTile.width = set.tileWidth; newTile.height = set.tileHeight;