Skip to content

Commit

Permalink
Hopefully fix crash when one of the types runs out when the others ha…
Browse files Browse the repository at this point in the history
…ven't yet
  • Loading branch information
NewSoupVi committed Dec 29, 2024
1 parent ca8ab86 commit b750e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worlds/witness/place_early_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def place_early_items(world: "WitnessWorld", prog_itempool: List[Item], fill_loc
next_findable_items_dict = {
item_list.pop(): item_type
for item_type, item_list in eligible_early_items_by_type.items()
if item_list
}

# Get their IDs as a set
Expand Down

0 comments on commit b750e4a

Please sign in to comment.