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 afcb6ac..c66c714 100644
--- a/alcogotchi-server/alcogotchi.py
+++ b/alcogotchi-server/alcogotchi.py
@@ -132,7 +132,7 @@ class Alcogotchi:
def double_or_nothing(self, data):
bet = dict(data)["bet"]
if self.alco_coin >= bet:
- if random.randin(0,1) == 0:
+ if random.randint(0,1) == 0:
self.alco_coin += bet
self.happiness += 2
else: