1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-09 13:37:02 +02:00

decorative placement fix

This commit is contained in:
MewMew 2019-03-31 18:25:49 +02:00
parent 76240e1842
commit adbd32eadc

View File

@ -140,7 +140,7 @@ local function on_chunk_generated(event)
decorative_names[#decorative_names+1] = k
end
end
surface.regenerate_decorative(decorative_names, {position})
surface.regenerate_decorative(decorative_names, {{left_top.x / 32, left_top.y / 32}})
if global.spawn_generated then return end
if left_top.x < 96 then return end