mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Add check for mod compatibilty
This commit is contained in:
		| @@ -763,6 +763,9 @@ void ModDependenciesResolver::tryAddMods(TModList modsToResolve, const ModsStora | ||||
| 		if (mod.isTranslation() && CGeneralTextHandler::getPreferredLanguage() != mod.getBaseLanguage()) | ||||
| 			return false; | ||||
|  | ||||
| 		if(!mod.isCompatible()) | ||||
| 			return false; | ||||
|  | ||||
| 		if(mod.getDependencies().size() > resolvedModIDs.size()) | ||||
| 			return false; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user