Skip to content

Commit

Permalink
bugfix - fixed a crash in fishing loop
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus authored Jan 3, 2025
1 parent 7a4c49c commit 49ce45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/fishing.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def fishing_loop(fishing_location, player, save_file, map_zone, zone, time_elaps
elif choice2.startswith('g'):
still_fishing2 = False
else:
cout(f"\nCommand '{choice}' isn't valid")
cout(f"\nCommand '{choice2}' isn't valid")
time.sleep(2)

# Determine if the player has won or lost the battle
Expand Down Expand Up @@ -375,7 +375,7 @@ def fishing_loop(fishing_location, player, save_file, map_zone, zone, time_elaps
elif choice.startswith('e'):
still_fishing = False
else:
cout(f"\nCommand '{choice2}' isn't valid")
cout(f"\nCommand '{choice}' isn't valid")
time.sleep(2)

# get end time
Expand Down

0 comments on commit 49ce45b

Please sign in to comment.