GDScript: Fix crash when completing code with signals

This commit is contained in:
George Marques 2020-08-26 15:13:42 -03:00
parent 8ccf88a206
commit ff16ba1eaa
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -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);