Skip to content

Commit

Permalink
Update worlds/kh1/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Exempt-Medic <[email protected]>
  • Loading branch information
gaithern and Exempt-Medic authored Aug 18, 2024
1 parent 385fe9c commit fbab617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/kh1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def create_items(self):

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

Expand Down

0 comments on commit fbab617

Please sign in to comment.