diff options
| author | Rémi Verschelde | 2017-05-01 17:44:52 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-05-01 17:50:19 +0200 |
| commit | 7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c (patch) | |
| tree | 7548791d163e1468ba9794b6ab3eee427f891e1a /editor/editor_file_system.cpp | |
| parent | de7eba887e9fe940dac0958836fa8fb778628d2a (diff) | |
| download | godot-7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c.tar.gz godot-7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c.tar.zst godot-7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c.zip | |
Diffstat (limited to 'editor/editor_file_system.cpp')
| -rw-r--r-- | editor/editor_file_system.cpp | 4 |
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); |
