From 62eedf2162560842c3e870161f7a75f4fe9aaf97 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 9 Nov 2023 10:40:06 +0100 Subject: [PATCH] better score calculation --- dabo/functions/score.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dabo/functions/score.sh b/dabo/functions/score.sh index 42fdae5..90b3788 100644 --- a/dabo/functions/score.sh +++ b/dabo/functions/score.sh @@ -1,5 +1,6 @@ function score { - s_score=$((s_score${1})) + #s_score=$((s_score${1})) + s_score=$(g_calc "${s_score} + ${1}") #echo " SCORE: s_score=${s_score} ($1) $2" s_score_hist="$s_score_hist s_score=${s_score} ($1) $2"