mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-17 21:08:08 +02:00
Hide secondary surfaces
This commit is contained in:
parent
b13820e713
commit
a9c4dd006b
@ -215,6 +215,9 @@ local function init(config)
|
||||
game.surfaces.cutscene.always_day = true
|
||||
game.surfaces.cutscene.request_to_generate_chunks({0, 0}, 2)
|
||||
game.surfaces.cutscene.force_generate_chunk_requests()
|
||||
for _, f in pairs(game.forces) do
|
||||
f.set_surface_hidden('cutscene', true)
|
||||
end
|
||||
cutscene_outpost()
|
||||
Cutscene.on_init()
|
||||
else
|
||||
@ -968,6 +971,8 @@ Global.register_init(
|
||||
local surface = game.surfaces[1]
|
||||
surface.map_gen_settings = {width = 2, height = 2}
|
||||
surface.clear()
|
||||
game.forces.player.set_surface_hidden('nauvis', true)
|
||||
game.forces.player.lock_space_location('nauvis')
|
||||
|
||||
local seed = RS.get_surface().map_gen_settings.seed
|
||||
tbl.outpost_seed = outpost_seed or seed
|
||||
|
Loading…
x
Reference in New Issue
Block a user