1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Merge pull request #1177 from IvanSavenko/fix_mod_identifiers

Fix mod identifiers registration & incorrect mod validation
This commit is contained in:
Andrii Danylchenko
2022-12-02 09:20:49 +02:00
committed by GitHub
9 changed files with 64 additions and 38 deletions

View File

@@ -1121,7 +1121,7 @@ void CMapLoaderJson::MapObjectLoader::construct()
return;
}
auto handler = VLC->objtypeh->getHandlerFor(typeName, subtypeName);
auto handler = VLC->objtypeh->getHandlerFor( "map", typeName, subtypeName);
auto appearance = new ObjectTemplate;