Code: Select all
local entitiesBuilt = blueprint.build_blueprint{
surface=surface, force=entity.force, position=chunkMiddle,
force_build=true, skip_fog_of_war=false, direction=direction
}
Code: Select all
local entitiesBuilt = blueprint.build_blueprint{
surface=surface, force=entity.force, position=chunkMiddle,
force_build=true, skip_fog_of_war=false, direction=direction
}
for (k,v) in pairs(entitiesBuilt) do
if v~=nil then v.revive() end
end