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 Jul 29, 2024
1 parent 01c1fa3 commit eb079a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions worlds/kh1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,7 @@ def get_numbers_of_reports_to_consider(self) -> List[int]:

def determine_reports_in_pool(self) -> int:
numbers_to_consider = self.get_numbers_of_reports_to_consider()
if len(numbers_to_consider) > 0:
return max(numbers_to_consider)
else:
return 0
return max(numbers_to_consider, default=0)

def determine_reports_required_to_open_end_of_the_world(self) -> int:
if self.options.end_of_the_world_unlock.current_key == "reports":
Expand Down

0 comments on commit eb079a5

Please sign in to comment.