fixed highscore saving

main
Martin Felis (berta) 2010-11-01 22:30:40 +01:00
parent a1be34e1a4
commit f84184aae1
1 changed files with 4 additions and 0 deletions

View File

@ -262,6 +262,10 @@ unsigned int Model::AddHighscoreEntry(const std::string &name, const unsigned in
if (counter < 10)
return counter;
// if we have all 10 entries then we can save
// the highscore
SaveHighscoreList();
mNewestHighscoreEntryIndex = 99999;
return 99999;