mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Handle mods with "keepDisabled" propertly on client
This commit is contained in:
@@ -684,7 +684,7 @@ void CModInfo::loadLocalData(const JsonNode & data)
|
|||||||
{
|
{
|
||||||
bool validated = false;
|
bool validated = false;
|
||||||
implicitlyEnabled = true;
|
implicitlyEnabled = true;
|
||||||
explicitlyEnabled = true;
|
explicitlyEnabled = !config["keepDisabled"].Bool();
|
||||||
checksum = 0;
|
checksum = 0;
|
||||||
if (data.getType() == JsonNode::JsonType::DATA_BOOL)
|
if (data.getType() == JsonNode::JsonType::DATA_BOOL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user