From 40b31fd8afb560c2d65d952d0b1e8bc06e1623d5 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 23 Oct 2024 22:13:48 -0700 Subject: [PATCH] Update dopewar.py --- modules/games/dopewar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/games/dopewar.py b/modules/games/dopewar.py index 2031081..cf7d76d 100644 --- a/modules/games/dopewar.py +++ b/modules/games/dopewar.py @@ -395,7 +395,7 @@ def endGameDw(nodeID): dwHighScore = ({'userID': nodeID, 'cash': round(cash, 2)}) with open('data/dopewar_hs.pkl', 'wb') as file: pickle.dump(dwHighScore, file) - msg = "You finished with $" + str(cash) + " and beat the high score!🎉💰" + msg = "You finished with $" + "{:,}".format(cash) + " and beat the high score!🎉💰" return msg if cash > starting_cash: msg = 'You made money! 💵 Up ' + str((cash/starting_cash).__round__()) + 'x! Well done.'