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); + } }