From 64ce90d5ca2964377be88321b556877c9f87f107 Mon Sep 17 00:00:00 2001 From: Brad Humphrey Date: Sun, 23 Jan 2022 21:59:36 -0700 Subject: [PATCH] Don't add more locations to the priority fill pool --- Fill.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Fill.py b/Fill.py index 904e80a6..b6f52f91 100644 --- a/Fill.py +++ b/Fill.py @@ -140,14 +140,6 @@ def distribute_items_restrictive(world: MultiWorld): defaultlocations = locations[LocationProgressType.DEFAULT] excludedlocations = locations[LocationProgressType.EXCLUDED] - locationDeficit = len(progitempool) - len(prioritylocations) - if locationDeficit > 0: - if locationDeficit > len(defaultlocations): - raise FillError( - f'Not enough locations for advancement items. There are {len(progitempool)} advancement items with {len(prioritylocations)} priority locations and {len(defaultlocations)} default locations') - prioritylocations += defaultlocations[:locationDeficit] - defaultlocations = defaultlocations[locationDeficit:] - fill_restrictive(world, world.state, prioritylocations, progitempool) if prioritylocations: defaultlocations = prioritylocations + defaultlocations