浏览代码

Allow mod name in camelCase

Tomasz Zieliński 1 年之前
父节点
当前提交
a4392fce36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/mapObjectConstructors/CObjectClassesHandler.cpp

+ 1 - 1
lib/mapObjectConstructors/CObjectClassesHandler.cpp

@@ -440,7 +440,7 @@ CompoundMapObjectID CObjectClassesHandler::getCompoundIdentifier(const std::stri
 		type = typeAndName.second;
 	}
 	
-	return getCompoundIdentifier(scopeAndFullName.first, type, subtype);
+	return getCompoundIdentifier(boost::to_lower_copy(scopeAndFullName.first), type, subtype);
 }
 
 std::set<MapObjectID> CObjectClassesHandler::knownObjects() const