1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-04 09:42:30 +02:00

Revert "Set hidden tile for landfill tiles (#1450)" (#1453)

This reverts commit 0db2664567.
This commit is contained in:
grilledham 2024-11-23 14:40:02 +00:00 committed by GitHub
parent a5255178a2
commit e6fadf750a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,12 +30,6 @@ local function do_tile_inner(tiles, tile, pos)
end
end
local function do_landfill_hidden_tile(tiles, tile, pos)
if (tile.tile or tile) == 'landfill' and not tile.hidden_tile then
insert(tiles, {tile = 'water-shallow', position = pos})
end
end
local function do_tile(y, x, data, shape)
local pos = {x, y}
@ -69,7 +63,6 @@ local function do_tile(y, x, data, shape)
else
do_tile_inner(data.tiles, tile, pos)
end
do_landfill_hidden_tile(data.hidden_tiles, tile, pos)
end
local function do_row(row, data, shape)
@ -116,7 +109,6 @@ local function do_row(row, data, shape)
else
do_tile_inner(tiles, tile, pos)
end
do_landfill_hidden_tile(data.hidden_tiles, tile, pos)
end
end