summaryrefslogtreecommitdiffstats
path: root/alcogotchi-server
diff options
context:
space:
mode:
Diffstat (limited to 'alcogotchi-server')
-rw-r--r--alcogotchi-server/alcogotchi.py2
1 files changed, 1 insertions, 1 deletions
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()