summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-11 09:18:25 +0200
committerGitHub <noreply@github.com>2021-10-11 09:18:25 +0200
commit21ab46f7e95da8eb0234ae27e5f64d95b7b2a742 (patch)
tree4b6e091fad215758b692d1a0cf01987804c3b831 /modules
parent09b0293fadebccd6ab15d9f35fa1810aa74dd473 (diff)
parent41e271af6ea9de712439139f2bd0b2ecb3d15db9 (diff)
Merge pull request #53656 from pycbouh/gdscript-exports-redundant-string-op
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index d3b57fbe18..d8d75e233e 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -3423,7 +3423,7 @@ bool GDScriptParser::export_annotations(const AnnotationNode *p_annotation, Node
String enum_hint_string;
for (const Map<StringName, int>::Element *E = export_type.enum_values.front(); E; E = E->next()) {
- enum_hint_string += E->key().operator String().camelcase_to_underscore(true).capitalize().xml_escape();
+ enum_hint_string += E->key().operator String().capitalize().xml_escape();
enum_hint_string += ":";
enum_hint_string += String::num_int64(E->get()).xml_escape();