diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-26 09:14:21 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-26 09:14:21 -0400 |
| commit | f06d107a7469e172686d682a74ded0d800278339 (patch) | |
| tree | 4832ceb73f89082b88e1e12eb8ffb79839539dc9 /apworld/static_logic.py | |
| parent | 5bf9d7cf024e82079760b8f0cf8061f47364d41c (diff) | |
| download | lingo2-archipelago-f06d107a7469e172686d682a74ded0d800278339.tar.gz lingo2-archipelago-f06d107a7469e172686d682a74ded0d800278339.tar.bz2 lingo2-archipelago-f06d107a7469e172686d682a74ded0d800278339.zip | |
Added backwards compatibility with removed locations
Diffstat (limited to 'apworld/static_logic.py')
| -rw-r--r-- | apworld/static_logic.py | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/apworld/static_logic.py b/apworld/static_logic.py index 8e07b82..702f30b 100644 --- a/apworld/static_logic.py +++ b/apworld/static_logic.py | |||
| @@ -31,7 +31,8 @@ class Lingo2StaticLogic: | |||
| 31 | location_name = self.get_door_location_name(door) | 31 | location_name = self.get_door_location_name(door) |
| 32 | self.location_id_to_name[door.ap_id] = location_name | 32 | self.location_id_to_name[door.ap_id] = location_name |
| 33 | 33 | ||
| 34 | if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: | 34 | if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE, |
| 35 | data_pb2.DoorType.LEGACY_LOCATION]: | ||
| 35 | item_name = self.get_door_item_name(door) | 36 | item_name = self.get_door_item_name(door) |
| 36 | self.item_id_to_name[door.ap_id] = item_name | 37 | self.item_id_to_name[door.ap_id] = item_name |
| 37 | 38 | ||
