Fix root cause of items not being placed into locations

This commit is contained in:
CaitSith2 2021-01-26 13:11:43 -08:00
parent c88d9b4339
commit eb1c4313a8
1 changed files with 2 additions and 2 deletions

View File

@ -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)