mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
- new mods (not mentioned in modSettings.json) will be enabled by
default
This commit is contained in:
@ -603,7 +603,7 @@ void CModInfo::loadLocalData(const JsonNode & data)
|
||||
{
|
||||
enabled = data.Bool();
|
||||
}
|
||||
else
|
||||
if (data.getType() == JsonNode::DATA_STRUCT)
|
||||
{
|
||||
enabled = data["active"].Bool();
|
||||
validated = data["validated"].Bool();
|
||||
|
Reference in New Issue
Block a user