Fixed an issue where MD5 hashes were calculated when using the single-game scraper

This commit is contained in:
Leon Styhre 2025-01-28 20:42:58 +01:00
parent 9a64649ed6
commit 65286ec027

View file

@ -370,7 +370,7 @@ void GuiScraperSearch::search(ScraperSearchParams& params)
mMD5Hash = "";
params.md5Hash = "";
if (!Utils::FileSystem::isDirectory(params.game->getPath()))
if (!Utils::FileSystem::isDirectory(params.game->getPath()) && mSearchType != MANUAL_MODE)
params.fileSize = Utils::FileSystem::getFileSize(params.game->getPath());
// Only use MD5 file hash searching when in automatic mode.