mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
add game details only once to the list of games when doing update check
This commit is contained in:
parent
97273e8747
commit
25055a03c8
@ -236,7 +236,10 @@ int Downloader::getGameDetails()
|
||||
for (unsigned int j = 0; j < game.installers.size(); ++j)
|
||||
{
|
||||
if (game.installers[j].updated)
|
||||
{
|
||||
games.push_back(game);
|
||||
break; // add the game only once
|
||||
}
|
||||
}
|
||||
if (i >= static_cast<unsigned int>(gogAPI->user.notifications_games))
|
||||
{ // Gone through all updated games. No need to go through the rest.
|
||||
|
Loading…
Reference in New Issue
Block a user