@ -199,7 +199,7 @@ void sortScoreboard()
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);
}