1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Allow mod operations such as install when possible

This commit is contained in:
Ivan Savenko
2024-11-18 17:37:45 +00:00
parent 879eb2184f
commit 00f97fb8cd
5 changed files with 94 additions and 61 deletions

View File

@@ -93,7 +93,8 @@ void CModHandler::loadModFilesystems()
modFilesystems[modName] = genModFilesystem(modName, getModInfo(modName).getFilesystemConfig());
for(const TModID & modName : activeMods)
CResourceHandler::addFilesystem("data", modName, modFilesystems[modName]);
if (modName != "core") // FIXME: remove
CResourceHandler::addFilesystem("data", modName, modFilesystems[modName]);
if (settings["mods"]["validation"].String() == "full")
checkModFilesystemsConflicts(modFilesystems);