1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Restored all disabled mod functinality that was used by client

This commit is contained in:
Ivan Savenko
2024-11-14 15:41:22 +00:00
parent 67fdd14dca
commit 87a665fb7f
11 changed files with 180 additions and 232 deletions

View File

@@ -116,7 +116,7 @@ JsonNode toJson(QVariant object)
void jsonToFile(QString filename, const JsonNode & object)
{
std::fstream file(qstringToPath(filename).c_str(), std::ios::out | std::ios_base::binary);
file << object.toString();
file << object.toCompactString();
}
}