mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-07 13:31:40 +02:00
fix for deleted decoratives
This commit is contained in:
parent
ff8fec2669
commit
a34ccf540a
@ -257,7 +257,7 @@ end
|
||||
|
||||
local function regenerate_decoratives_for_chunk(surface, position)
|
||||
local chunk = get_chunk_position(position)
|
||||
surface.destroy_decoratives({{chunk.x * 32, chunk.y * 32}, {chunk.x * 32 + 32, chunk.y * 32 + 32}})
|
||||
surface.destroy_decoratives({area = {{chunk.x * 32, chunk.y * 32}, {chunk.x * 32 + 32, chunk.y * 32 + 32}}})
|
||||
local decorative_names = {}
|
||||
for k,v in pairs(game.decorative_prototypes) do
|
||||
if v.autoplace_specification then
|
||||
|
Loading…
x
Reference in New Issue
Block a user