Reworked generate_game_infos.

merge-requests/24/head
Nemirtingas 2019-08-24 17:33:39 +02:00
parent b17e3b7be3
commit 13acbb3d94
1 changed files with 1 additions and 3 deletions

View File

@ -206,7 +206,7 @@ int main()
{
output_json[i]["name"] = item.value()["name"];
output_json[i]["displayName"] = item.value()["displayName"];
output_json[i]["hidden"] = item.value()["hidden"];
output_json[i]["hidden"] = std::to_string(item.value()["hidden"].get<int>());
try
{
output_json[i]["description"] = item.value()["description"];
@ -217,8 +217,6 @@ int main()
}
output_json[i]["icon"] = item.value()["icon"];
output_json[i]["icongray"] = item.value()["icongray"];
output_json[i]["time_earned"] = 0;
output_json[i]["earned"] = 0;
++i;
}
ach_file << std::setw(2) << output_json;