From 0e0a39562150fa8cacc785368980db91f1b1b98b Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Sat, 19 Nov 2022 14:51:36 -0800 Subject: [PATCH] Fix issue with multiworld generation --- Main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Main.py b/Main.py index 50e1a25f..ab87c2e1 100644 --- a/Main.py +++ b/Main.py @@ -723,9 +723,8 @@ def copy_world_premature(world, player): copied_entrance.door = copied_door if copied_door: copied_door.entrance = copied_entrance - for player, portals in world.dungeon_portals.items(): - for portal in portals: - connect_portal(portal, ret, player) + for portal in world.dungeon_portals[player]: + connect_portal(portal, ret, player) set_rules(ret, player)