aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-05-02 11:32:48 +0200
committerGitHub2017-05-02 11:32:48 +0200
commitacaa01dfa76fcf538c4aba993e9ac0ae1dde9b5d (patch)
tree9c51789ed5f03364c8714bbcbb0d5be35ffbfeb9 /editor/editor_file_system.cpp
parent8e64b27585c416095fbfae0f8c7aca618519e43b (diff)
parent7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c (diff)
downloadgodot-acaa01dfa76fcf538c4aba993e9ac0ae1dde9b5d.tar.gz
godot-acaa01dfa76fcf538c4aba993e9ac0ae1dde9b5d.tar.zst
godot-acaa01dfa76fcf538c4aba993e9ac0ae1dde9b5d.zip
Merge pull request #8610 from akien-mga/project-file-extension
Rename project file to "project.godot"
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r--editor/editor_file_system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index 2612a2af1..b7070ab5f 100644
--- a/editor/editor_file_system.cpp
+++ b/editor/editor_file_system.cpp
@@ -509,7 +509,7 @@ void EditorFileSystem::_scan_new_dir(EditorFileSystemDirectory *p_dir, DirAccess
if (f.begins_with(".")) //ignore hidden and . / ..
continue;
- if (FileAccess::exists(cd.plus_file(f).plus_file("godot.cfg"))) // skip if another project inside this
+ if (FileAccess::exists(cd.plus_file(f).plus_file("project.godot"))) // skip if another project inside this
continue;
dirs.push_back(f);
@@ -688,7 +688,7 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir, const
int idx = p_dir->find_dir_index(f);
if (idx == -1) {
- if (FileAccess::exists(cd.plus_file(f).plus_file("godot.cfg"))) // skip if another project inside this
+ if (FileAccess::exists(cd.plus_file(f).plus_file("project.godot"))) // skip if another project inside this
continue;
EditorFileSystemDirectory *efd = memnew(EditorFileSystemDirectory);