Skip to content
Snippets Groups Projects
Commit b8418e0f authored by Loke Nesse Svelland's avatar Loke Nesse Svelland
Browse files

fixed small function error

parent 56514afc
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,9 @@ void writeToFileTournament() {
if (outfile)
{
for (int i = 0; i < gTournaments.size(); i++)
gTournaments[i]->writeToFileTournament(outfile);
gTournaments[i]->writeToFileTournaments(outfile);
outfile.close();
}
else
cout << "\nCouldn't find tournamentData.dta\n"; // maybe unneccesary, considering it's also checked when reading data from file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment