From 0018db8d07f7ad784d0600dcd3b901e727813a44 Mon Sep 17 00:00:00 2001 From: massimilianodelliubaldini <8584296+massimilianodelliubaldini@users.noreply.github.com> Date: Sun, 6 Apr 2025 17:19:51 -0400 Subject: [PATCH] Missed an unncessary if condition. --- worlds/jakanddaxter/Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/jakanddaxter/Rules.py b/worlds/jakanddaxter/Rules.py index 039bab7ec0..76e5f65fc8 100644 --- a/worlds/jakanddaxter/Rules.py +++ b/worlds/jakanddaxter/Rules.py @@ -63,7 +63,7 @@ def count_reachable_orbs_level(state: CollectionState, # Cast all regions upfront to access their unique attributes. for region in world.level_to_regions[level_name]: # Rely on short-circuiting to skip region.can_reach whenever possible. - if region.level_name == level_name and region.orb_count > 0 and region.can_reach(state): + if region.orb_count > 0 and region.can_reach(state): accessible_orbs += region.orb_count return accessible_orbs