From 88ea3dd4db53cf817df10cec12d7b0c111e723c3 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 5 May 2023 22:26:19 +0200 Subject: [PATCH] Remove erroneous signal connection --- editor/plugins/script_editor_plugin.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index ea8e99c9de2..0e01b11028e 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4091,8 +4091,6 @@ ScriptEditor::ScriptEditor() { Ref json_syntax_highlighter; json_syntax_highlighter.instantiate(); register_syntax_highlighter(json_syntax_highlighter); - - EditorNode::get_singleton()->connect("scene_closed", callable_mp(this, &ScriptEditor::_close_builtin_scripts_from_scene)); } ScriptEditor::~ScriptEditor() {