Browse Source

Anpassung von Parametern.

main
David PC Saiz 2 years ago
parent
commit
412011e58f
  1. 2
      src/Paper-Bin.c

2
src/Paper-Bin.c

@ -199,7 +199,7 @@ void sortScoreboard()
FILE* fp = fopen("ScoreBoard.txt", "w"); FILE* fp = fopen("ScoreBoard.txt", "w");
for (int i = 0; i <= numberOfLines +1; i++)
for (int i = 0; i < numberOfLines; i++)
{ {
fprintf(fp, "%s %d\n", playerlist[i].Name, playerlist[i].Points); fprintf(fp, "%s %d\n", playerlist[i].Name, playerlist[i].Points);
} }

Loading…
Cancel
Save