From 06ec72a064e2e57b3936d4e42d34054beaff42c8 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 21 Jan 2022 05:04:02 +0100 Subject: [PATCH] Fill: fix for crash when locations are prefilled --- Fill.py | 2 +- WebHostLib/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Fill.py b/Fill.py index 1d3e2b49..865e394d 100644 --- a/Fill.py +++ b/Fill.py @@ -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) diff --git a/WebHostLib/requirements.txt b/WebHostLib/requirements.txt index 44d0c04a..f64d40e0 100644 --- a/WebHostLib/requirements.txt +++ b/WebHostLib/requirements.txt @@ -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