From b04270d8f619b81ed506f34ecd9f4b843f744e1e Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Wed, 8 Feb 2023 19:25:12 +0100 Subject: [PATCH] =?UTF-8?q?Wartezeit=20Scoreboard=20Print=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Paper-Bin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 43ebb75..c0dd804 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -194,7 +194,9 @@ void sortScoreboard() for (int j = 0; j <= numberOfLines; j++) { printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points); - } + sleep(1000); + } + FILE* fp = fopen("ScoreBoard.txt", "w");