From 7a255a008e16f28012f77e543729e639c8925741 Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Tue, 16 Mar 2021 00:19:11 +1100 Subject: [PATCH] Fix moved locations in copy_world routine. --- Main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Main.py b/Main.py index bb6ed8ad..de0699ac 100644 --- a/Main.py +++ b/Main.py @@ -420,6 +420,8 @@ def copy_world(world): copied_region.is_dark_world = region.is_dark_world copied_region.dungeon = region.dungeon copied_region.locations = [copied_locations[(location.name, location.player)] for location in region.locations] + for location in copied_region.locations: + location.parent_region = copied_region for entrance in region.entrances: ret.get_entrance(entrance.name, entrance.player).connect(copied_region)