in init.lua:1210
there is this piece of code
if instance then
self:swapTile(instance, tile)
else
self:addNewLayerTile(layer, tile, x, y)
end
layer.data[y][x] = tile
i wondered why I couldn't change a tile, with lua saying me that the tile is a number
i found out it shoud be changed to this
if instance then
self:swapTile(instance, tile)
else
self:addNewLayerTile(layer, nil, tile, x, y)
end
layer.data[y][x] = tile
end
in init.lua:1210
there is this piece of code
i wondered why I couldn't change a tile, with lua saying me that the tile is a number
i found out it shoud be changed to this