From 2788ba197a4c05573afc2e78f8357c6d55ecbe60 Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Wed, 8 Feb 2023 19:12:49 +0100 Subject: [PATCH] Der Score wird verarbeitet --- src/Paper-Bin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 8bc3c64..e407692 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -165,6 +165,10 @@ void sortScoreboard() { char* playertmp = strtok(line, " "); strcpy(playerlist[j].Name, playertmp); + + playertmp = strtok(NULL, " "); + int playerPoints = atoi(playertmp); + } }