Skip to content

Commit

Permalink
Undertale: Fixed it trying to add strings to the finished item pool
Browse files Browse the repository at this point in the history
  • Loading branch information
jonloveslegos committed Jun 13, 2024
1 parent e8c18e8 commit 6f6d6b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/undertale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ def create_items(self):
exclusion_checks.update(["Nicecream Punch Card", "Hush Trade"])
exclusion_rules(self.multiworld, self.player, exclusion_checks)

# Convert itempool into real items
itempool = [item for item in map(lambda name: self.create_item(name), itempool)]
# Fill remaining items with randomly generated junk or Temmie Flakes
while len(itempool) < len(self.multiworld.get_unfilled_locations(self.player)):
itempool += [self.create_filler()]
# Convert itempool into real items
itempool = [item for item in map(lambda name: self.create_item(name), itempool)]

self.multiworld.itempool += itempool

Expand Down

0 comments on commit 6f6d6b9

Please sign in to comment.