mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fix regresssion - crash on transferring hero to next scenario
This commit is contained in:
@@ -316,6 +316,8 @@ JsonNode CampaignState::crossoverSerialize(CGHeroInstance * hero) const
|
|||||||
JsonNode node;
|
JsonNode node;
|
||||||
JsonSerializer handler(nullptr, node);
|
JsonSerializer handler(nullptr, node);
|
||||||
hero->serializeJsonOptions(handler);
|
hero->serializeJsonOptions(handler);
|
||||||
|
node.setModScope(ModScope::scopeGame());
|
||||||
|
logGlobal->info(node.toString());
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user