From 3575927c850d6337ce02ee75afef00e508868ce3 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 13 Nov 2024 11:27:06 -0600 Subject: [PATCH] bugfix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 15fb27d..79c9d97 100644 --- a/main.py +++ b/main.py @@ -60,7 +60,7 @@ def doRound(turn, canCheat, player, computer): break bank += res[0] print(f"Computer rolled a {res[0]}, bank is now {bank}") - shouldRoll = fp.rint(0, 1) + shouldRoll = fp.randint(0, 1) if not shouldRoll: print( f"Computer stopped rolling after {rollCounter} roll(s), bank was {bank} points{' (!! CHEAT !!)' if cheatFlag else ''}"