fixed highscore saving
parent
a1be34e1a4
commit
f84184aae1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue