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

make luacheck happy

This commit is contained in:
Gerkiz 2021-07-18 16:01:56 +02:00 committed by GitHub
parent 74bad8e026
commit e9176c1360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1376,12 +1376,12 @@ function Public.reset_game()
-- {x = -512, y = 192},
-- {x = -512, y = -192}
--}
local map_gen_settings = {}
map_gen_settings.seed = math_random(10000, 99999)
map_gen_settings.starting_area = 1
--map_gen_settings.starting_points = spawn_poses
map_gen_settings.width = 4000
map_gen_settings.height = 1800
map_gen_settings.water = 0.10
@ -1397,11 +1397,9 @@ function Public.reset_game()
['trees'] = {frequency = 3, size = 0.15, richness = 0.5},
['enemy-base'] = {frequency = 'none', size = 'none', richness = 'none'}
}
map_gen_settings.property_expression_names = {moisture = math_random(4, 7) * 0.1}
map_gen_settings.property_expression_names = {moisture = math_random(4, 7) * 0.1}
local active_surface_index = FDT.get('active_surface_index')
if not active_surface_index then