summaryrefslogtreecommitdiffstats
path: root/alcogotchi-server/alcogotchi.py
diff options
context:
space:
mode:
authorGeorge Barrell <78610776+RogerGabeller-ml@users.noreply.github.com>2024-11-17 05:12:38 +0000
committerGitHub <noreply@github.com>2024-11-17 05:12:38 +0000
commit5382e80f2fc3084c2b23afbf1ad8d8de7380278b (patch)
treeb5a4ab38b36366ccfa3e9d4471da194e62044723 /alcogotchi-server/alcogotchi.py
parentb90e853762938e16a1569fa8ebe543a22a0a048f (diff)
Change 1 letter
Diffstat (limited to 'alcogotchi-server/alcogotchi.py')
-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: