Skip to content

Commit

Permalink
YGO06: fix slot data
Browse files Browse the repository at this point in the history
  • Loading branch information
Rensen3 committed Jan 16, 2024
1 parent e998140 commit 28fe2a6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions worlds/yugioh06/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,6 @@ def fill_slot_data(self) -> Dict[str, Any]:
"third_tier_5_campaign_boss_campaign_opponents": self.options.third_tier_5_campaign_boss_campaign_opponents.value,
"number_of_challenges": self.options.number_of_challenges.value,
}
for start_item in self.options.start_inventory_from_pool:
if start_item not in slot_data:
slot_data[start_item] = []
for i in range(0, self.options.start_inventory_from_pool[start_item]):
slot_data[start_item].extend(["Your Pocket", self.player])

for plando_item in self.multiworld.plando_items[self.player]:
if plando_item["from_pool"]:
Expand All @@ -361,7 +356,7 @@ def fill_slot_data(self) -> Dict[str, Any]:
slot_data[item] = []
for item_location in self.multiworld.find_item_locations(item, self.player):
slot_data[item].extend([item_location.name, item_location.player])
slot_data["removed challenges"] = self.removed_challenge
slot_data["removed challenges"] = self.removed_challenges

return slot_data

Expand Down

0 comments on commit 28fe2a6

Please sign in to comment.