diff options
| author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-11-08 11:03:25 +0300 |
|---|---|---|
| committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-11-08 11:20:28 +0300 |
| commit | f11b66b08433375bb3b4e6e6224b905c6a53d4d0 (patch) | |
| tree | 018f24e67c65e2abb9e1d759e4a7579457ee3a66 /modules/gdscript/gdscript_parser.cpp | |
| parent | 2f0d3d5424c393c756f4cd5cac26287c95aaf4fe (diff) | |
| download | redot-engine-f11b66b08433375bb3b4e6e6224b905c6a53d4d0.tar.gz | |
Fix named enums to use int64 type
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
| -rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 4279edf394..6842a1ff49 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -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 { |
