diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 43e640b40e1..7c420b9741a 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1420,7 +1420,6 @@ void EditorNode::_mark_unsaved_scenes() { String path = node->get_filename(); if (!(path == String() || FileAccess::exists(path))) { - node->set_filename(""); if (i == editor_data.get_edited_scene()) set_current_version(-1); else