2
0
mirror of https://github.com/Sude-/lgogdownloader.git synced 2025-03-08 20:35:18 +01:00

Fixed a typo that caused update flag to be set true for all installers

This commit is contained in:
Sude 2013-03-16 03:47:38 +02:00
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];
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(),
std::string(), // empty string because installer doesn't have "name"
installer["link"].asString(),