mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Prepared JsonNode for new logging API.
This commit is contained in:
@ -976,7 +976,7 @@ void CModHandler::afterLoad()
|
||||
modSettings["core"] = coreMod.saveLocalData();
|
||||
|
||||
FileStream file(*CResourceHandler::get()->getResourceName(ResourceID("config/modSettings.json")), std::ofstream::out | std::ofstream::trunc);
|
||||
file << modSettings;
|
||||
file << modSettings.toJson();
|
||||
}
|
||||
|
||||
std::string CModHandler::normalizeIdentifier(const std::string & scope, const std::string & remoteScope, const std::string & identifier)
|
||||
|
Reference in New Issue
Block a user