Fix minimal accessibility failures (#726)

This commit is contained in:
Alchav
2022-09-29 13:59:57 -04:00
committed by GitHub
parent e6a4925f0c
commit 885c8d3fcc
2 changed files with 44 additions and 4 deletions

View File

@@ -531,7 +531,7 @@ class MultiWorld():
beatable_fulfilled = False
def location_conditition(location: Location):
def location_condition(location: Location):
"""Determine if this location has to be accessible, location is already filtered by location_relevant"""
if location.player in players["minimal"]:
return False
@@ -548,7 +548,7 @@ class MultiWorld():
def all_done():
"""Check if all access rules are fulfilled"""
if beatable_fulfilled:
if any(location_conditition(location) for location in locations):
if any(location_condition(location) for location in locations):
return False # still locations required to be collected
return True