about summary refs log tree commit diff stats
path: root/apworld
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2026-02-06 15:14:50 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2026-02-06 15:14:50 -0500
commitb27e8e1d76084c9e1371eef85383170b3753012a (patch)
tree23ce2cd747038f5d0453cb672e1292ad70a1d340 /apworld
parent27a1d63608cc370cdf491ae08c70c74f76956367 (diff)
downloadlingo2-archipelago-b27e8e1d76084c9e1371eef85383170b3753012a.tar.gz
lingo2-archipelago-b27e8e1d76084c9e1371eef85383170b3753012a.tar.bz2
lingo2-archipelago-b27e8e1d76084c9e1371eef85383170b3753012a.zip
Fix shuffled RTEs in tracker HEAD main
Diffstat (limited to 'apworld')
-rw-r--r--apworld/__init__.py4
-rw-r--r--apworld/tracker.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/apworld/__init__.py b/apworld/__init__.py index ff1da66..42350bc 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py
@@ -71,6 +71,10 @@ class Lingo2World(World):
71 self.port_pairings = {} 71 self.port_pairings = {}
72 72
73 def create_regions(self): 73 def create_regions(self):
74 if hasattr(self.multiworld, "re_gen_passthrough") and "Lingo 2" in self.multiworld.re_gen_passthrough:
75 self.player_logic.rte_mapping = [self.world.static_logic.map_id_by_name[map_name]
76 for map_name in self.multiworld.re_gen_passthrough["Lingo 2"]["rte"]]
77
74 create_regions(self) 78 create_regions(self)
75 79
76 def connect_entrances(self): 80 def connect_entrances(self):
diff --git a/apworld/tracker.py b/apworld/tracker.py index a84c3f8..3e1cafb 100644 --- a/apworld/tracker.py +++ b/apworld/tracker.py
@@ -44,6 +44,10 @@ class Tracker:
44 for k, t in Lingo2Options.type_hints.items()}) 44 for k, t in Lingo2Options.type_hints.items()})
45 45
46 self.world.generate_early() 46 self.world.generate_early()
47
48 self.world.player_logic.rte_mapping = [self.world.static_logic.map_id_by_name[map_name]
49 for map_name in slot_data.get("rte", [])]
50
47 self.world.create_regions() 51 self.world.create_regions()
48 52
49 if self.world.options.shuffle_worldports: 53 if self.world.options.shuffle_worldports: