Merge pull request #60989 from Jojox/fix_gdscript_parser_enum

This commit is contained in:
Rémi Verschelde 2022-05-13 14:55:55 +02:00 committed by GitHub
commit 9ed56be82d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();