mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Rename toJson to toString/toCompactString for consistency
This commit is contained in:
@ -512,7 +512,7 @@ void CModHandler::afterLoad(bool onlyEssential)
|
||||
if(!onlyEssential)
|
||||
{
|
||||
std::fstream file(CResourceHandler::get()->getResourceName(ResourcePath("config/modSettings.json"))->c_str(), std::ofstream::out | std::ofstream::trunc);
|
||||
file << modSettings.toJson();
|
||||
file << modSettings.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user