mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-03-09 12:55:58 +01:00
Fixed a typo that caused update flag to be set true for all installers
This commit is contained in:
parent
580f080aaf
commit
97273e8747
@ -321,7 +321,7 @@ gameDetails API::getGameDetails(const std::string& game_name, const unsigned int
|
|||||||
Json::Value installer = installers[i][index];
|
Json::Value installer = installers[i][index];
|
||||||
|
|
||||||
game.installers.push_back(
|
game.installers.push_back(
|
||||||
gameFile( installer["#updated"].isBool() ? installer["id"].asBool() : false,
|
gameFile( installer["#updated"].isBool() ? installer["#updated"].asBool() : false,
|
||||||
installer["id"].isInt() ? std::to_string(installer["id"].asInt()) : installer["id"].asString(),
|
installer["id"].isInt() ? std::to_string(installer["id"].asInt()) : installer["id"].asString(),
|
||||||
std::string(), // empty string because installer doesn't have "name"
|
std::string(), // empty string because installer doesn't have "name"
|
||||||
installer["link"].asString(),
|
installer["link"].asString(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user