diff --git a/map_gen/maps/diggy/feature/diggy_hole.lua b/map_gen/maps/diggy/feature/diggy_hole.lua index c2af6e1e4..6e51f91e5 100644 --- a/map_gen/maps/diggy/feature/diggy_hole.lua +++ b/map_gen/maps/diggy/feature/diggy_hole.lua @@ -134,7 +134,7 @@ local function on_mined_tile(surface, tiles) for _, tile in pairs(tiles) do if (artificial_tiles[tile.old_tile.name]) then count = count + 1 - new_tiles[count] = {name = 'dirt-' .. random(1, 7), position = tile.position} + new_tiles[count] = { name = tile.old_tile.hidden_tile or ('dirt-' .. random(1, 7)), position = tile.position } end end