mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix root cause of items not being placed into locations
This commit is contained in:
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)
|
fill_restrictive(world, world.state, fill_locations, progitempool)
|
||||||
|
|
||||||
if any(localprioitempool.values() or
|
if any(localprioitempool.values()) or \
|
||||||
localrestitempool.values()): # we need to make sure some fills are limited to certain worlds
|
any(localrestitempool.values()): # we need to make sure some fills are limited to certain worlds
|
||||||
local_locations = {player: [] for player in world.player_ids}
|
local_locations = {player: [] for player in world.player_ids}
|
||||||
for location in fill_locations:
|
for location in fill_locations:
|
||||||
local_locations[location.player].append(location)
|
local_locations[location.player].append(location)
|
||||||
|
Reference in New Issue
Block a user