Fixed a bug on game achievements percentage calculation.

This commit is contained in:
Vittorio Alfieri
2021-09-27 11:33:35 +02:00
parent 9e3caa635d
commit 79d353d3ee
2 changed files with 5 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ int GameStateMenu::gamePercentComplete() {
for (map<string, Unlockable *>::iterator it = Unlockable::unlockables.begin(); it != Unlockable::unlockables.end(); ++it) {
total++;
if (it->second->isUnlocked())
total++;
done++;
}
total++;