From 262b36cac66d3d47f4f098ace26d1663ad0b60fc Mon Sep 17 00:00:00 2001 From: aerinon Date: Wed, 24 Aug 2022 13:10:32 -0600 Subject: [PATCH] Custom yaml properly record interior doors that are key doors --- source/classes/CustomSettings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/classes/CustomSettings.py b/source/classes/CustomSettings.py index 03a203f9..dd99853e 100644 --- a/source/classes/CustomSettings.py +++ b/source/classes/CustomSettings.py @@ -306,7 +306,7 @@ class CustomSettings(object): for door in world.doors: if door.player == p and not door.entranceFlag and door.type in door_types and door not in skip: if door.type == DoorType.Interior: - if door.name in door_types: + if door.name in door_kinds: door_value = {'type': door_kinds[door.name]} door_map[door.name] = door_value # intra-tile note skip.add(door.dest)