1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Update map_gen/shared/generate.lua

Co-Authored-By: grilledham <jrdgillham@gmail.com>
This commit is contained in:
Simon 2019-10-20 14:40:22 +02:00 committed by GitHub
parent 2a83ea5ad1
commit 0a8dc3012e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ end
function Public.init(args) function Public.init(args)
tiles_per_tick = args.tiles_per_tick or 32 tiles_per_tick = args.tiles_per_tick or 32
regen_decoratives = args.regen_decoratives or false regen_decoratives = args.regen_decoratives or false
for surface_name, shape in pairs(args.surfaces) do for surface_name, shape in pairs(args.surfaces or {}) do
surfaces[surface_name] = shape surfaces[surface_name] = shape
end end