mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 12:28:07 +01:00
Reworked generate_game_infos.
This commit is contained in:
parent
b17e3b7be3
commit
13acbb3d94
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue