mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Small (temp) fix. Prevent nulls from serialization.
This commit is contained in:
@ -362,7 +362,7 @@ void CGObjectInstance::readJson(const JsonNode & json, bool withState)
|
||||
|
||||
void CGObjectInstance::writeJsonOptions(JsonNode & json) const
|
||||
{
|
||||
|
||||
json.setType(JsonNode::DATA_STRUCT);
|
||||
}
|
||||
|
||||
void CGObjectInstance::readJsonOptions(const JsonNode & json)
|
||||
@ -372,7 +372,7 @@ void CGObjectInstance::readJsonOptions(const JsonNode & json)
|
||||
|
||||
void CGObjectInstance::writeJsonState(JsonNode & json) const
|
||||
{
|
||||
|
||||
json.setType(JsonNode::DATA_STRUCT);
|
||||
}
|
||||
|
||||
void CGObjectInstance::readJsonState(const JsonNode & json)
|
||||
|
Reference in New Issue
Block a user