From eb1c4313a8bb60619111b983a4d94bcf445d92d9 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Tue, 26 Jan 2021 13:11:43 -0800 Subject: [PATCH] Fix root cause of items not being placed into locations --- Fill.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fill.py b/Fill.py index b45ded74..5ed9dd5a 100644 --- a/Fill.py +++ b/Fill.py @@ -141,8 +141,8 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None fill_restrictive(world, world.state, fill_locations, progitempool) - if any(localprioitempool.values() or - localrestitempool.values()): # we need to make sure some fills are limited to certain worlds + if any(localprioitempool.values()) or \ + any(localrestitempool.values()): # we need to make sure some fills are limited to certain worlds local_locations = {player: [] for player in world.player_ids} for location in fill_locations: local_locations[location.player].append(location)