diff options
author | JoJoX <jonas.lhoste@gmail.com> | 2022-05-12 19:11:33 -0400 |
---|---|---|
committer | JoJoX <jonas.lhoste@gmail.com> | 2022-05-12 19:11:33 -0400 |
commit | 8870e1c75dd4ae240f963c229b299387a6c54fca (patch) | |
tree | b5ada26f19ed779825037f892e291efcdbb4060f | |
parent | 826f5358a124c8f0645a9536c32545cf4a5bc364 (diff) |
Fix first value update
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index b6bf523a67..aa1bfb312c 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -3565,6 +3565,7 @@ bool GDScriptParser::export_annotations(const AnnotationNode *p_annotation, Node for (const KeyValue<StringName, int> &E : export_type.enum_values) { if (!first) { enum_hint_string += ","; + } else { first = false; } enum_hint_string += E.key.operator String().capitalize().xml_escape(); |