Core: Minimal-Items Accessibility Fix (#1888)
This commit is contained in:
parent
151e2c3ac2
commit
6f3bc3a7ad
|
@ -572,9 +572,10 @@ class MultiWorld():
|
||||||
|
|
||||||
def location_condition(location: Location):
|
def location_condition(location: Location):
|
||||||
"""Determine if this location has to be accessible, location is already filtered by location_relevant"""
|
"""Determine if this location has to be accessible, location is already filtered by location_relevant"""
|
||||||
if location.player in players["minimal"]:
|
if location.player in players["locations"] or (location.item and location.item.player not in
|
||||||
return False
|
players["minimal"]):
|
||||||
return True
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
def location_relevant(location: Location):
|
def location_relevant(location: Location):
|
||||||
"""Determine if this location is relevant to sweep."""
|
"""Determine if this location is relevant to sweep."""
|
||||||
|
|
Loading…
Reference in New Issue