diff options
Diffstat (limited to 'apworld/static_logic.py')
-rw-r--r-- | apworld/static_logic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apworld/static_logic.py b/apworld/static_logic.py index 6a05f3d..af1e985 100644 --- a/apworld/static_logic.py +++ b/apworld/static_logic.py | |||
@@ -17,11 +17,11 @@ class Lingo2StaticLogic: | |||
17 | self.objects.ParseFromString(bytearray(file)) | 17 | self.objects.ParseFromString(bytearray(file)) |
18 | 18 | ||
19 | for door in self.objects.doors: | 19 | for door in self.objects.doors: |
20 | if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.LOCATION_ONLY]: | 20 | if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: |
21 | location_name = f"{self.objects.maps[door.map_id].name} - {door.name}" | 21 | location_name = f"{self.objects.maps[door.map_id].name} - {door.name}" |
22 | self.location_id_to_name[door.ap_id] = location_name | 22 | self.location_id_to_name[door.ap_id] = location_name |
23 | 23 | ||
24 | if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY]: | 24 | if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: |
25 | item_name = self.get_door_item_name(door.id) | 25 | item_name = self.get_door_item_name(door.id) |
26 | self.item_id_to_name[door.ap_id] = item_name | 26 | self.item_id_to_name[door.ap_id] = item_name |
27 | 27 | ||