|
@@ -136,11 +136,11 @@ CBonusSystemNode * CArmedInstance::whatShouldBeAttached()
|
|
|
void CArmedInstance::writeJsonOptions(JsonNode& json) const
|
|
void CArmedInstance::writeJsonOptions(JsonNode& json) const
|
|
|
{
|
|
{
|
|
|
CGObjectInstance::writeJsonOptions(json);
|
|
CGObjectInstance::writeJsonOptions(json);
|
|
|
- CCreatureSet::writeJson(json);
|
|
|
|
|
|
|
+ CCreatureSet::writeJson(json["army"]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void CArmedInstance::readJsonOptions(const JsonNode& json)
|
|
void CArmedInstance::readJsonOptions(const JsonNode& json)
|
|
|
{
|
|
{
|
|
|
CGObjectInstance::readJsonOptions(json);
|
|
CGObjectInstance::readJsonOptions(json);
|
|
|
- CCreatureSet::readJson(json);
|
|
|
|
|
|
|
+ CCreatureSet::readJson(json["army"]);
|
|
|
}
|
|
}
|