mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
Fixed loading of settings from mods
This commit is contained in:
@ -1064,7 +1064,8 @@ void CModHandler::initializeConfig()
|
||||
for(const TModID & modName : activeMods)
|
||||
{
|
||||
const auto & mod = allMods[modName];
|
||||
VLC->settingsHandler->load(mod.config["settings"]);
|
||||
if (!mod.config["settings"].isNull())
|
||||
VLC->settingsHandler->load(mod.config["settings"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user