Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed Jul 7, 2024
1 parent 8481459 commit 3f4b569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/kh1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ def create_items(self):

level_up_locations = list(get_locations_by_category("Levels").keys())
self.random.shuffle(level_up_item_pool)
i = self.options.force_stats_on_levels - 1
starting_level_for_stats_only = self.options.force_stats_on_levels - 1
while len(level_up_item_pool) > 0 and i < self.options.level_checks:
self.multiworld.get_location(level_up_locations[i], self.player).place_locked_item(self.create_item(level_up_item_pool.pop()))
i += 1
self.multiworld.get_location(level_up_locations[starting_level_for_stats_only], self.player).place_locked_item(self.create_item(level_up_item_pool.pop()))
starting_level_for_stats_only += 1

#Calculate prefilled locations and items
if True: #Allow notepad++ to collpase this section
Expand Down

0 comments on commit 3f4b569

Please sign in to comment.