mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2025-03-03 14:42:27 +02:00
Shuffle vanilla spawns so we don't always pick the same one every game.
This commit is contained in:
parent
fc8643783b
commit
fc3646790f
@ -79,6 +79,11 @@ script.on_init(function(event)
|
||||
if (global.ocfg.frontier_rocket_silo) then
|
||||
SpawnSilosAndGenerateSiloAreas()
|
||||
end
|
||||
|
||||
-- Everyone do the shuffle. Helps avoid always starting at the same location.
|
||||
global.vanillaSpawns = FYShuffle(global.vanillaSpawns)
|
||||
log("Vanilla spawns:")
|
||||
log(serpent.block(global.vanillaSpawns))
|
||||
end)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user