AlexVinS 9 年之前
父节点
当前提交
8ed6aa762b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/mapping/MapFormatJson.cpp

+ 1 - 1
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";