mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix mods updating
This commit is contained in:
parent
eed9de2ff5
commit
f785525508
@ -160,8 +160,6 @@ bool CModManager::canUninstallMod(QString modname)
|
|||||||
if(!mod.isInstalled())
|
if(!mod.isInstalled())
|
||||||
return addError(modname, "Mod is not installed");
|
return addError(modname, "Mod is not installed");
|
||||||
|
|
||||||
if(mod.isEnabled())
|
|
||||||
return addError(modname, "Mod must be disabled first");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user