From ff16ba1eaa5a440206571fcbbd31feb2e2a598c9 Mon Sep 17 00:00:00 2001 From: George Marques Date: Wed, 26 Aug 2020 15:13:42 -0300 Subject: [PATCH] GDScript: Fix crash when completing code with signals --- modules/gdscript/gdscript_editor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 88bf8cde0fe..5492c7900f9 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -820,7 +820,6 @@ static void _find_identifiers_in_class(const GDScriptParser::ClassNode *p_class, break; case GDScriptParser::ClassNode::Member::SIGNAL: if (p_only_functions || outer) { - clss = clss->outer; continue; } option = ScriptCodeCompletionOption(member.signal->identifier->name, ScriptCodeCompletionOption::KIND_SIGNAL);