From 68cb9ac73e222f7bb81dd195eb58db45ef79fde7 Mon Sep 17 00:00:00 2001 From: prokopparuzek Date: Thu, 23 Oct 2025 19:22:14 +0200 Subject: [PATCH] fix 4 2 napoveda 35 minut penalizace --- klice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klice.go b/klice.go index 8508e61..58eebeb 100644 --- a/klice.go +++ b/klice.go @@ -249,7 +249,7 @@ func qrHandler(w http.ResponseWriter, r *http.Request) { db.Exec("UPDATE teams SET penalty = penalty + 5 WHERE id = ?", teamID) } else if r.FormValue("help") == "2" && help == 1 { // give up help = 2 - db.Exec("UPDATE penalties SET minutes = 30 WHERE team_id = ? AND task_id = ?", teamID, taskID) + db.Exec("UPDATE penalties SET minutes = 35 WHERE team_id = ? AND task_id = ?", teamID, taskID) db.Exec("UPDATE teams SET penalty = penalty + 30, last_cipher = ? WHERE id = ?", order+1, teamID) } else if answer := r.FormValue("solution"); answer != "" && help < 2 { // answer submission var correctAnswer string