mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-03-09 21:01:53 +01:00
Change --no-subdirectories option behavior for game subdirectory
367b57ca8905dde5d4a5ba7d97fa9aa9754863b3 changed how --no-subdirectories worked Before that commit --no-subdirectories affected only subdirectories under --subdir-game After that commit it affected subdirectories under --directory This changes the behavior back to how it was previously Now --no-subdirectories affects only subdirectories under --subdir-game
This commit is contained in:
parent
cd69de7646
commit
d8ec857cd6
@ -324,12 +324,13 @@ std::string gameDetails::makeFilepath(const gameFile& gf, const DirectoryConfig&
|
|||||||
{
|
{
|
||||||
subdir = dirConf.sDLCSubdir + "/" + subdir;
|
subdir = dirConf.sDLCSubdir + "/" + subdir;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!dirConf.sGameSubdir.empty())
|
if (!dirConf.sGameSubdir.empty())
|
||||||
{
|
{
|
||||||
subdir = dirConf.sGameSubdir + "/" + subdir;
|
subdir = dirConf.sGameSubdir + "/" + subdir;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
std::string gamename = gf.gamename;
|
std::string gamename = gf.gamename;
|
||||||
std::string title = gf.title;
|
std::string title = gf.title;
|
||||||
std::string dlc_gamename;
|
std::string dlc_gamename;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user