mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed empty scope on resolving map overrides
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user