Fix "could not randomize recipe" when both silo and satellite are...

...randomized recipes.
This commit is contained in:
CaitSith2 2021-11-21 18:25:28 -08:00
parent 415f045fd8
commit b10d9040df
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ class Factorio(World):
valid_pool += sorted(science_pack_pools[pack])
if self.world.silo[self.player].value == Silo.option_randomize_recipe:
new_recipe = self.make_balanced_recipe(recipes["rocket-silo"], valid_pool,
new_recipe = self.make_balanced_recipe(recipes["rocket-silo"], valid_pool.copy(),
factor=(self.world.max_science_pack[self.player].value + 1) / 7)
self.custom_recipes["rocket-silo"] = new_recipe