From 6c1023a88c0042ab368a7ae15ca522c5ea7a95b1 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 29 Jan 2023 22:12:39 +0100 Subject: [PATCH] Subnautica: fix swim_rule considers items property use (#1419) --- worlds/subnautica/Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/subnautica/Rules.py b/worlds/subnautica/Rules.py index 673c8442..62830264 100644 --- a/worlds/subnautica/Rules.py +++ b/worlds/subnautica/Rules.py @@ -152,7 +152,7 @@ def has_ultra_glide_fins(state: "CollectionState", player: int) -> bool: def get_max_swim_depth(state: "CollectionState", player: int) -> int: swim_rule: SwimRule = state.multiworld.swim_rule[player] depth: int = swim_rule.base_depth - if swim_rule == swim_rule.consider_items: + if swim_rule.consider_items: if has_seaglide(state, player): if has_ultra_high_capacity_tank(state, player): depth += 350 # It's about 800m. Give some room