summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorThakee Nathees <thakeenathees@gmail.com>2020-04-17 12:13:57 +0530
committerThakee Nathees <thakeenathees@gmail.com>2020-04-17 12:13:57 +0530
commit3c45377c6e8b0bc3044d5ea3fe7b34b844e5a9f7 (patch)
treeb2644b6037d3394225f3f8b04c8e85d6d9b0dcc4 /modules/gdscript
parentc9de04b628e225e74aededb3dc0fa7b772090660 (diff)
autocompleting with indexing for native types added
Fix: #37768
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 2ec3352e70..ed97e5e088 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<PropertyInfo> members;
- p_base.value.get_property_list(&members);
+ tmp.get_property_list(&members);
for (List<PropertyInfo>::Element *E = members.front(); E; E = E->next()) {
if (String(E->get().name).find("/") == -1) {