Core: change signatures in autoworld from world to multiworld (#1273)

This commit is contained in:
alwaysintreble
2022-11-30 20:45:22 -06:00
committed by GitHub
parent f0e9080108
commit 111c3186bd
2 changed files with 18 additions and 18 deletions

View File

@@ -211,8 +211,8 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No
items_to_add = []
for player in group["players"]:
if group["replacement_items"][player]:
items_to_add.append(AutoWorld.call_single(world, "create_item", player,
group["replacement_items"][player]))
items_to_add.append(
AutoWorld.call_single(world, "create_item", player, group["replacement_items"][player]))
else:
items_to_add.append(AutoWorld.call_single(world, "create_filler", player))
world.random.shuffle(items_to_add)