diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index ff2e11381b6..2dfa8f36a34 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) {