1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Verifying mods before starting map

This commit is contained in:
nordsoft
2023-04-16 15:38:13 +04:00
parent 67e1b48d47
commit 954a2abb71
7 changed files with 60 additions and 3 deletions

View File

@ -967,6 +967,11 @@ std::vector<std::string> CModHandler::getActiveMods()
return activeMods;
}
const CModInfo & CModHandler::getModInfo(const TModID & modId) const
{
return allMods.at(modId);
}
static JsonNode genDefaultFS()
{
// default FS config for mods: directory "Content" that acts as H3 root directory