浏览代码

Merge pull request #60989 from Jojox/fix_gdscript_parser_enum

Rémi Verschelde 3 年之前
父节点
当前提交
9ed56be82d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/gdscript/gdscript_parser.cpp

+ 1 - 0
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();