Fix root cause of items not being placed into locations
This commit is contained in:
parent
c88d9b4339
commit
eb1c4313a8
4
Fill.py
4
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)
|
||||
|
|
Loading…
Reference in New Issue