diff options
Diffstat (limited to 'apworld')
| -rw-r--r-- | apworld/player_logic.py | 3 | ||||
| -rw-r--r-- | apworld/static_logic.py | 3 |
2 files changed, 4 insertions, 2 deletions
| diff --git a/apworld/player_logic.py b/apworld/player_logic.py index d7b18c2..043268e 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py | |||
| @@ -299,7 +299,8 @@ class Lingo2PlayerLogic: | |||
| 299 | if door.map_id not in self.shuffled_maps: | 299 | if door.map_id not in self.shuffled_maps: |
| 300 | continue | 300 | continue |
| 301 | 301 | ||
| 302 | if door.type in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: | 302 | if door.type in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE, |
| 303 | data_pb2.DoorType.LEGACY_LOCATION]: | ||
| 303 | continue | 304 | continue |
| 304 | 305 | ||
| 305 | if door.id in self.item_by_door: | 306 | if door.id in self.item_by_door: |
| 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 | ||
