Skip to content

Commit

Permalink
Fix error: Not able to type 'ye' to confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWritesCode committed Oct 15, 2022
1 parent 27a3c44 commit ff3baa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def purchase_stock_menu(stats):
# Validate user input
if not validate_yes_no(user_choice):
continue
if user_choice.lower() in ['y', 'yes']:
if user_choice.lower() in ['y', 'ye', 'yes']:

# Check if remaining cash will above 0 after purchase,
# if so continue, else loop
Expand Down

0 comments on commit ff3baa0

Please sign in to comment.