From 59d082c15127807e88258cf17645fdb3eddcc922 Mon Sep 17 00:00:00 2001 From: t3hf1gm3nt <59876300+t3hf1gm3nt@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:51:40 -0500 Subject: [PATCH] Update worlds/tloz/Rules.py forgor that has_any exists Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> --- worlds/tloz/Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/tloz/Rules.py b/worlds/tloz/Rules.py index 93fa5d3849bb..b1589cbf58ad 100644 --- a/worlds/tloz/Rules.py +++ b/worlds/tloz/Rules.py @@ -62,7 +62,7 @@ def set_rules(tloz_world: "TLoZWorld"): # Level 4 Access for location in tloz_world.levels[4].locations: add_rule(world.get_location(location.name, player), - lambda state: state.has("Raft", player) or state.has("Recorder", player)) + lambda state: state.has_any(("Raft", "Recorder"), player)) # Digdogger boss. Rework this once ER happens add_rule(world.get_location("Level 5 Boss", player),