mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Fix priority handling for DLCs
This commit is contained in:
parent
211aa3a3e6
commit
ddbb5d07cc
@ -294,6 +294,7 @@ int Downloader::getGameDetails()
|
|||||||
{
|
{
|
||||||
gameDetails dlc;
|
gameDetails dlc;
|
||||||
dlc = gogAPI->getGameDetails(gameItems[i].dlcnames[j], conf.iInstallerPlatform, conf.iInstallerLanguage, config.bDuplicateHandler);
|
dlc = gogAPI->getGameDetails(gameItems[i].dlcnames[j], conf.iInstallerPlatform, conf.iInstallerLanguage, config.bDuplicateHandler);
|
||||||
|
dlc.filterWithPriorities(config);
|
||||||
if (dlc.extras.empty() && config.bExtras) // Try to get extras from account page if API didn't return any extras
|
if (dlc.extras.empty() && config.bExtras) // Try to get extras from account page if API didn't return any extras
|
||||||
{
|
{
|
||||||
if (gameDetailsJSON.empty())
|
if (gameDetailsJSON.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user