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:
@ -1049,7 +1049,7 @@ void CMapLoaderJson::MapObjectLoader::construct()
|
||||
if(typeName.empty())
|
||||
{
|
||||
logGlobal->error("Object type missing");
|
||||
logGlobal->debug(configuration.toJson());
|
||||
logGlobal->debug(configuration.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1069,7 +1069,7 @@ void CMapLoaderJson::MapObjectLoader::construct()
|
||||
else if(subtypeName.empty())
|
||||
{
|
||||
logGlobal->error("Object subtype missing");
|
||||
logGlobal->debug(configuration.toJson());
|
||||
logGlobal->debug(configuration.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user