From 6f18c4c4a5f02a15a54e4266841261e8878663a7 Mon Sep 17 00:00:00 2001 From: aerinon Date: Thu, 30 Mar 2023 16:42:56 -0600 Subject: [PATCH] Fix lamp logic in partitioned --- Rules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rules.py b/Rules.py index 9e048b38..f29dea4a 100644 --- a/Rules.py +++ b/Rules.py @@ -1191,9 +1191,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 ['crossed', 'partitioned'] and not info['sewer']: is_dark = True - elif world.doorShuffle[player] == 'crossed': + elif world.doorShuffle[player] in ['crossed', 'partitioned']: sewer_builder = world.dungeon_layouts[player]['Hyrule Castle'] is_dark = region not in sewer_builder.master_sector.region_set() if is_dark: