From 3c45377c6e8b0bc3044d5ea3fe7b34b844e5a9f7 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Fri, 17 Apr 2020 12:13:57 +0530 Subject: [PATCH] autocompleting with indexing for native types added Fix: #37768 --- modules/gdscript/gdscript_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 2ec3352e707..ed97e5e0880 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2098,7 +2098,7 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context if (!p_only_functions) { List members; - p_base.value.get_property_list(&members); + tmp.get_property_list(&members); for (List::Element *E = members.front(); E; E = E->next()) { if (String(E->get().name).find("/") == -1) {