Merge pull request #65065 from Atlinx/fix/65010_enum-doesnt-show-up

This commit is contained in:
Rémi Verschelde 2022-08-31 16:51:53 +02:00 committed by GitHub
commit 6843a484ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2726,6 +2726,7 @@ void GDScriptAnalyzer::reduce_identifier_from_base(GDScriptParser::IdentifierNod
result.builtin_type = Variant::INT;
result.native_type = base.native_type;
result.enum_type = base.enum_type;
result.enum_values = base.enum_values;
p_identifier->set_datatype(result);
return;
} else {