From 8870e1c75dd4ae240f963c229b299387a6c54fca Mon Sep 17 00:00:00 2001 From: JoJoX Date: Thu, 12 May 2022 19:11:33 -0400 Subject: [PATCH] Fix first value update --- modules/gdscript/gdscript_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index b6bf523a67e..aa1bfb312cb 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 &E : export_type.enum_values) { if (!first) { enum_hint_string += ","; + } else { first = false; } enum_hint_string += E.key.operator String().capitalize().xml_escape();