mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +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;
|
||||
JsonSerializer handler(nullptr, node);
|
||||
hero->serializeJsonOptions(handler);
|
||||
node.setModScope(ModScope::scopeGame());
|
||||
logGlobal->info(node.toString());
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user