Browse Source

Allow mod name in camelCase

Tomasz Zieliński 1 year ago
parent
commit
a4392fce36
1 changed files with 1 additions and 1 deletions
  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