From 9406f408df9ff769cf795767867413d95d94077d Mon Sep 17 00:00:00 2001 From: codemann8 Date: Mon, 3 Apr 2023 08:25:14 -0500 Subject: [PATCH] Fix for HC dark rooms not getting correct lamp logic in partitioned DR --- Rules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rules.py b/Rules.py index 9e03ad3b..99058d17 100644 --- a/Rules.py +++ b/Rules.py @@ -1376,9 +1376,9 @@ def add_conditional_lamps(world, player): is_dark = False if not world.sewer_light_cone[player]: is_dark = True - elif world.doorShuffle[player] != 'crossed' and not info['sewer']: + elif world.doorShuffle[player] not in ['partitioned', 'crossed'] and not info['sewer']: is_dark = True - elif world.doorShuffle[player] == 'crossed': + elif world.doorShuffle[player] in ['partitioned', 'crossed']: sewer_builder = world.dungeon_layouts[player]['Hyrule Castle'] is_dark = region not in sewer_builder.master_sector.region_set() if is_dark: