From 51ee6fa28f10ce63bf8bf2f42b0f03bca894466d Mon Sep 17 00:00:00 2001 From: George Barrell <78610776+RogerGabeller-ml@users.noreply.github.com> Date: Sun, 17 Nov 2024 12:20:40 +0000 Subject: Update alcogotchi.py --- alcogotchi-server/alcogotchi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alcogotchi-server/alcogotchi.py') diff --git a/alcogotchi-server/alcogotchi.py b/alcogotchi-server/alcogotchi.py index f40e797..426f6f8 100644 --- a/alcogotchi-server/alcogotchi.py +++ b/alcogotchi-server/alcogotchi.py @@ -175,7 +175,7 @@ class Alcogotchi: def drink(self, data): global terminated drink_choice = data["drink"] - if self.last_drunkentime + 0 < time.time() and self.items[drink_choice] > 0: + if self.last_drunkentime + 3 < time.time() and self.items[drink_choice] > 0: self.drunk += BEVERAGES[drink_choice] self.happiness += BEVERAGES[drink_choice] self.last_drunkentime = time.time() -- cgit v1.2.3-70-g09d2