summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-08-26 15:13:42 -0300
committerGeorge Marques <george@gmarqu.es>2020-08-26 15:13:42 -0300
commitff16ba1eaa5a440206571fcbbd31feb2e2a598c9 (patch)
tree04e905306f104579272f66818ad4d0ef56dfefef /modules/gdscript
parent8ccf88a206fd1ef031e4bd79ef3c5686a085b0c8 (diff)
GDScript: Fix crash when completing code with signals
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 88bf8cde0f..5492c7900f 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);