Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 17, 2024
1 parent 8c05e80 commit ed8c701
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,11 @@ def choose_random_exit(
if ex not in relevant_loose_end_exits
]

return (random.choice(preferred_exits)
if len(preferred_exits) > 0
else random.choice(all_exits_available))
return (
random.choice(preferred_exits)
if len(preferred_exits) > 0
else random.choice(all_exits_available)
)


def connect_two_areas(
Expand Down

0 comments on commit ed8c701

Please sign in to comment.