Merge pull request #53657 from pycbouh/gdscript-exports-redundant-string-op-3.x

This commit is contained in:
Rémi Verschelde 2021-10-11 09:18:38 +02:00 committed by GitHub
commit 4b4cbdd2c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4675,7 +4675,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
first = false;
}
current_export.hint_string += E->get().operator String().camelcase_to_underscore(true).capitalize().xml_escape();
current_export.hint_string += E->get().operator String().capitalize().xml_escape();
if (!is_flags) {
current_export.hint_string += ":";
current_export.hint_string += enum_values[E->get()].operator String().xml_escape();