From 1c34f2bed055b8c1ab1666c4f465a4663b508f5e Mon Sep 17 00:00:00 2001 From: Jay Davis Date: Wed, 26 Mar 2025 11:29:36 -0500 Subject: [PATCH] fixes drink_count bug --- lib/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli.py b/lib/cli.py index 034f7ff4a..922632059 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -54,7 +54,7 @@ def option_select(customer): global drink_count global birthday emotion_state() - if drink_count <= 6: + if drink_count < 6: print("1. Can I get a drink?") else: print("Nope, no more") @@ -75,14 +75,14 @@ def option_select(customer): else: print(Fore.RED + "3. Leave" + Style.RESET_ALL) - if drink_count <= 6: + if drink_count < 6: choice = get_valid_choice(["1", "2", "3", "4"]) elif birthday: choice = get_valid_choice(["2", "3", "4"]) else: choice = get_valid_choice(["2", "3", "4"]) - if drink_count <= 6: + if drink_count < 6: if choice == "1": select_drink(customer)