AlexVinS 9 năm trước cách đây
mục cha
commit
8ed6aa762b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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";