Browse Source

Remove erroneous signal connection

kobewi 2 years ago
parent
commit
88ea3dd4db
1 changed files with 0 additions and 2 deletions
  1. 0 2
      editor/plugins/script_editor_plugin.cpp

+ 0 - 2
editor/plugins/script_editor_plugin.cpp

@@ -4091,8 +4091,6 @@ ScriptEditor::ScriptEditor() {
 	Ref<EditorJSONSyntaxHighlighter> json_syntax_highlighter;
 	Ref<EditorJSONSyntaxHighlighter> json_syntax_highlighter;
 	json_syntax_highlighter.instantiate();
 	json_syntax_highlighter.instantiate();
 	register_syntax_highlighter(json_syntax_highlighter);
 	register_syntax_highlighter(json_syntax_highlighter);
-
-	EditorNode::get_singleton()->connect("scene_closed", callable_mp(this, &ScriptEditor::_close_builtin_scripts_from_scene));
 }
 }
 
 
 ScriptEditor::~ScriptEditor() {
 ScriptEditor::~ScriptEditor() {