From 02b5f5fa1eaf9ea3adfe4d0f9d7c3246c657d662 Mon Sep 17 00:00:00 2001 From: David PC Saiz Date: Wed, 8 Feb 2023 19:13:59 +0100 Subject: [PATCH] Der Score des Spielers wird in die Liste geschrieben. --- src/Paper-Bin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index e407692..b635a83 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -169,7 +169,8 @@ void sortScoreboard() playertmp = strtok(NULL, " "); int playerPoints = atoi(playertmp); - } + playerlist[j].Points = playerPoints; + } } } \ No newline at end of file