diff --git a/build/artifacts/release/Paper-Bin.out b/build/artifacts/release/Paper-Bin.out index de2de35..04af6c2 100644 Binary files a/build/artifacts/release/Paper-Bin.out and b/build/artifacts/release/Paper-Bin.out differ diff --git a/build/release/Paper-Bin.out b/build/release/Paper-Bin.out index de2de35..04af6c2 100755 Binary files a/build/release/Paper-Bin.out and b/build/release/Paper-Bin.out differ diff --git a/build/release/out/c/Paper-Bin.o b/build/release/out/c/Paper-Bin.o index 1fd438c..b245f29 100644 Binary files a/build/release/out/c/Paper-Bin.o and b/build/release/out/c/Paper-Bin.o differ diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 9f5ec79..d0367d2 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -331,11 +331,11 @@ void sortScoreboard() //Die Textdatei wird Zeile für Zeile eingelesen und in die Strukturliste eingefügt for (int j = 0; fgets(line, sizeof line, file) != NULL && j <= 10; j++) { - char* playertmp = strtok(line, " "); - strcpy(playerlist[j].Name, playertmp); + char* playerTmp = strtok(line, " "); + strcpy(playerlist[j].Name, playerTmp); - playertmp = strtok(NULL, " "); - int playerPoints = atoi(playertmp); + playerTmp = strtok(NULL, " "); + int playerPoints = atoi(playerTmp); playerlist[j].Points = playerPoints;