From d0986542ef08851ff6c6e5684277b3bbbd6ab5da Mon Sep 17 00:00:00 2001 From: Sude Date: Thu, 16 Oct 2014 19:14:22 +0300 Subject: [PATCH] Don't get game list when using cache unless --list was used --- src/downloader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/downloader.cpp b/src/downloader.cpp index c518211..358cd9f 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -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))