Fill: fix for crash when locations are prefilled

This commit is contained in:
Fabian Dill 2022-01-21 05:04:02 +01:00
parent 31a823bc34
commit 06ec72a064
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ def fill_restrictive(world: MultiWorld, base_state: CollectionState, locations,
def distribute_items_restrictive(world: MultiWorld, fill_locations=None):
# If not passed in, then get a shuffled list of locations to fill in
if not fill_locations:
fill_locations = world.get_locations()
fill_locations = world.get_unfilled_locations()
world.random.shuffle(fill_locations)

View File

@ -3,4 +3,4 @@ pony>=0.7.14
waitress>=2.0.0
flask-caching>=1.10.1
Flask-Compress>=1.10.1
Flask-Limiter>=1.4
Flask-Limiter>=2.1