mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed empty scope on resolving map overrides
This commit is contained in:
parent
191959ae05
commit
c5acb8bb7d
@ -136,6 +136,8 @@ static JsonNode loadPatches(std::string path)
|
||||
JsonNode node = JsonUtils::assembleFromFiles(std::move(path));
|
||||
for (auto & entry : node.Struct())
|
||||
JsonUtils::validate(entry.second, "vcmi:mapHeader", "patch for " + entry.first);
|
||||
|
||||
node.setMeta(CModHandler::scopeMap());
|
||||
return node;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user