summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-31 16:51:53 +0200
committerGitHub <noreply@github.com>2022-08-31 16:51:53 +0200
commit6843a484ffb1e507ed55b33cb344556489c20cb4 (patch)
tree444460d31a76de4d156bdc589245daa031356386 /modules/gdscript
parent46a568e0a7d437bcb1c6517d6531f9216d3f832a (diff)
parent6b5640c88ce5ad24f06a41b9776f52af3fac7fa0 (diff)
Merge pull request #65065 from Atlinx/fix/65010_enum-doesnt-show-up
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_analyzer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp
index c8c876369f..e37ac1dc3b 100644
--- a/modules/gdscript/gdscript_analyzer.cpp
+++ b/modules/gdscript/gdscript_analyzer.cpp
@@ -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 {