From eab60d39920868fbfde566c525501919b0360911 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Sat, 4 Oct 2025 19:02:36 +0200 Subject: [PATCH] use original instead of zero debt for defensive mode. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 08c7f73..323b520 100644 --- a/app.py +++ b/app.py @@ -356,7 +356,7 @@ def ai_answer(): {scenario_type}_wins = {scenario_type}_wins + 1, current_{scenario_type}_scenario = ?, current_{scenario_type}_scenario_debt = ? - WHERE username = ?''', (int(data["final_debt_amount"]), "", "", username)) + WHERE username = ?''', (int(data["final_debt_amount"]) if scenario_type == "offensive" else debt_amount, "", "", username)) get_db().commit()