Fixed breaking typo introduced by #6474

This commit is contained in:
Richard Davey 2023-08-01 21:15:01 +01:00
parent ae249a0ef7
commit ab9fced253

View file

@ -75,7 +75,7 @@ var PutTileAt = function (tile, tileX, tileY, recalculateFaces, layer)
}
else
{
var tilemap = layer.tilemaplayer.tilemap;
var tilemap = layer.tilemapLayer.tilemap;
var tiles = tilemap.tiles;
var sid = tiles[index][2];
var set = tilemap.tileset[sid];