From b910d4bcb9316f0cc01fbf841f4d6c47ac3920e1 Mon Sep 17 00:00:00 2001 From: Sude Date: Sat, 16 Mar 2013 03:22:45 +0200 Subject: [PATCH] Update check has priority over downloading or listing files --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index d44ce19..dcfd856 100644 --- a/main.cpp +++ b/main.cpp @@ -172,14 +172,14 @@ int main(int argc, char *argv[]) if (config.bLogin) return result; + else if (config.bUpdateCheck) // Update check has priority over download and list + downloader.updateCheck(); else if (config.bDownload) // Download games downloader.download(); else if (config.bRepair) // Repair file downloader.repair(); else if (config.bListDetails || config.bList) // Detailed list of games/extras downloader.listGames(); - else if (config.bUpdateCheck) // Detailed list of games/extras - downloader.updateCheck(); else { // Show help message std::cout << config.sVersionString << std::endl