From b3fa2ab62bb5ccbd971cb22241a17b5486192b95 Mon Sep 17 00:00:00 2001 From: fdai7103 Date: Wed, 8 Feb 2023 20:24:33 +0100 Subject: [PATCH] Zweite Stelle des Scores in Array schreiben --- src/Paper-Bin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 836dedd..074ae21 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -201,6 +201,9 @@ void Generatefield() { int tmp = ScorePoints; field[12][1] = '0' + tmp % 10; + + tmp /= 10; + field[11][1] = '0' + tmp % 10; } void addScoreboard()