mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Rename toJson to toString/toCompactString for consistency
This commit is contained in:
@@ -833,7 +833,7 @@ CSpell * CSpellHandler::loadFromJson(const std::string & scope, const JsonNode &
|
||||
{
|
||||
logMod->warn("Spell %s has old target condition format. Expected configuration: ", spell->getNameTranslated());
|
||||
spell->targetCondition = spell->convertTargetCondition(immunities, absoluteImmunities, limiters, absoluteLimiters);
|
||||
logMod->warn("\n\"targetCondition\" : %s", spell->targetCondition.toJson());
|
||||
logMod->warn("\n\"targetCondition\" : %s", spell->targetCondition.toString());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user