1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2025-03-03 14:42:27 +02:00

Enforce island map type so you don't need to choose it in the map options.

This commit is contained in:
Oarcinae 2019-04-28 20:31:13 -05:00
parent 178d751377
commit 925f21ffd4

View File

@ -449,11 +449,11 @@ function CreateGameSurface()
if global.ocfg.enable_vanilla_spawns then
nauvis_settings.starting_points = CreateVanillaSpawns(global.ocfg.vanilla_spawn_count, global.ocfg.vanilla_spawn_spacing)
-- DeleteAllChunksExceptCenter(game.surfaces[GAME_SURFACE_NAME])
-- ISLAND MAP GEN -- WARNING
-- nauvis_settings.property_expression_names.elevation = "0_17-island"
-- ISLAND MAP GEN -- WARNING
-- ENFORCE ISLAND MAP GEN
if (global.ocfg.silo_islands) then
nauvis_settings.property_expression_names.elevation = "0_17-island"
end
end
-- Create new game surface