From b3749b7fe3915fb584d580d6e13bb0ae04065d81 Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Sun, 7 Sep 2025 12:56:26 -0400 Subject: [PATCH] Somehow, OR conditional logic was STILL not being considered. This should fix it. --- worlds/grinch/Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/grinch/Rules.py b/worlds/grinch/Rules.py index 841e957d..908a7e28 100644 --- a/worlds/grinch/Rules.py +++ b/worlds/grinch/Rules.py @@ -26,7 +26,7 @@ def interpret_rule(rule_set: list[list[str]], player: int): access_list: list[Callable[[CollectionState], bool]] = [] for item_set in rule_set: - access_list.append(lambda state: state.has_all(item_set, player)) + access_list.append(lambda state, items=tuple(item_set): state.has_all(items, player)) return access_list #Each item in the list is a separate list of rules. Each separate list is just an "OR" condition.