mirror of
https://github.com/csd4ni3l/debt-by-ai.git
synced 2026-01-01 04:23:45 +01:00
use original instead of zero debt for defensive mode.
This commit is contained in:
2
app.py
2
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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user