mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Don't get game list when using cache unless --list was used
This commit is contained in:
parent
eef4712b6e
commit
d0986542ef
@ -86,7 +86,9 @@ int Downloader::init()
|
||||
if (config.bCover && config.bDownload && !config.bUpdateCheck)
|
||||
coverXML = this->getResponse(config.sCoverList);
|
||||
|
||||
if (!config.bUpdateCheck) // updateCheck() calls getGameList() if needed
|
||||
// updateCheck() calls getGameList() if needed
|
||||
// getGameList() is not needed when using cache unless we want to list games from account
|
||||
if ( !config.bUpdateCheck && (!config.bUseCache || (config.bUseCache && config.bList)) )
|
||||
this->getGameList();
|
||||
|
||||
if (config.bReport && (config.bDownload || config.bRepair))
|
||||
|
Loading…
Reference in New Issue
Block a user