summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-11-07 16:38:56 +0100
committerkobewi <kobewi4e@gmail.com>2021-11-07 16:38:56 +0100
commit8144ac79cfb07d4a5e5c906550de9352df68efd3 (patch)
treed15622d7e0070a25042dff00880dd692dac77e19 /editor
parent9f46ce86523e01435ad34de467de586485448278 (diff)
Fix editor saving blank scenes (for real)
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index d855085719..7db49c45dd 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1791,7 +1791,7 @@ void EditorNode::_save_all_scenes() {
} else {
_save_scene_with_preview(scene->get_scene_file_path());
}
- } else {
+ } else if (scene->get_scene_file_path() != "") {
all_saved = false;
}
}