diff --git a/lib/mapping/MapFormatJson.cpp b/lib/mapping/MapFormatJson.cpp index 03e73e49e..e35222493 100644 --- a/lib/mapping/MapFormatJson.cpp +++ b/lib/mapping/MapFormatJson.cpp @@ -749,7 +749,7 @@ void CMapLoaderJson::MapObjectLoader::construct() //TODO:consider move to ObjectTypeHandler //find type handler - std::string typeName = configuration["type"].String(), subTypeName = configuration["subType"].String(); + std::string typeName = configuration["type"].String(), subTypeName = configuration["subtype"].String(); if(typeName.empty()) { logGlobal->errorStream() << "Object type missing";