mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Modding-related bugfixes:
- hero classes will be loaded correctly - objects without index will have correctly assigned ID's
This commit is contained in:
		| @@ -310,6 +310,7 @@ bool CContentHandler::ContentTypeHandler::preloadModData(std::string modName, st | ||||
| 			if (remoteName == modName) | ||||
| 				logGlobal->warnStream() << "Redundant namespace definition for " << objectName; | ||||
|  | ||||
| 			logGlobal->traceStream() << "Patching object " << objectName << " (" << remoteName << ") from " << modName; | ||||
| 			JsonNode & remoteConf = modData[remoteName].patches[objectName]; | ||||
|  | ||||
| 			JsonUtils::merge(remoteConf, entry.second); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user