From da33b6f1b9dfc7d9e558a9bf9d13d2de4f1e98be Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 12 Oct 2025 19:55:43 -0700 Subject: [PATCH] Update dopewar.py --- modules/games/dopewar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/games/dopewar.py b/modules/games/dopewar.py index 2243b9f..8266f52 100644 --- a/modules/games/dopewar.py +++ b/modules/games/dopewar.py @@ -366,7 +366,8 @@ def get_location_table(nodeID, choice=0): return loc_table_string def endGameDw(nodeID): - global dwCashDb, dwInventoryDb, dwLocationDb, dwGameDayDb, dwHighScore + global dwCashDb, dwInventoryDb, dwLocationDb, dwGameDayDb, dwHighScore, dwPlayerTracker + cash = 0 msg = '' dwHighScore = getHighScoreDw() # Confirm the cash for the user