Fix named enums to use int64 type

This commit is contained in:
Yuri Rubinsky 2022-11-08 11:03:25 +03:00
parent 2f0d3d5424
commit f11b66b084
3 changed files with 3 additions and 4 deletions

View file

@ -3802,7 +3802,7 @@ bool GDScriptParser::export_annotations(const AnnotationNode *p_annotation, Node
String enum_hint_string;
bool first = true;
for (const KeyValue<StringName, int> &E : export_type.enum_values) {
for (const KeyValue<StringName, int64_t> &E : export_type.enum_values) {
if (!first) {
enum_hint_string += ",";
} else {