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

Autoformat and remove unused local

This commit is contained in:
Matthew Heguy 2018-11-20 01:33:06 -05:00
parent 9555fd1e6a
commit 5157503e9a

View File

@ -6,7 +6,7 @@ in this file and your run_*type*_module(event) function will be called.
--]]
local b = require 'map_gen.shared.builders'
local Perlin = require 'map_gen.shared.perlin_noise'
require 'map_gen.shared.perlin_noise'
local shape = nil
local regen_decoratives = false
@ -22,7 +22,6 @@ local tiles_per_tick = 32
--require 'map_gen.combined.cave_miner.cave_miner'
--require "map_gen.combined.diggy"
--presets--
--shape = require "map_gen.presets.template"
--shape = require "map_gen.presets.web" --unfinished
@ -155,7 +154,7 @@ end
if shape then
local surfaces = {
['nauvis'] = shape,
['nauvis'] = shape
}
require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})