summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-02-04 21:02:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-02-04 21:02:52 -0300
commitaf3fabeb7745e6f7f4e7fe7a299bdd234fff26a6 (patch)
tree7573b4f6fd088da5e33ed0484d76787fc798e8f3 /tools
parent102b5fce85ffa14887bb08433f7eb571c7aafd81 (diff)
Ensure proper config version when reading the new configuration file.
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/editor_file_system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp
index 41069eb7b7..077910de33 100644
--- a/tools/editor/editor_file_system.cpp
+++ b/tools/editor/editor_file_system.cpp
@@ -544,7 +544,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("engine.cfg"))) // skip if another project inside this
+ if (FileAccess::exists(cd.plus_file(f).plus_file("godot.cfg"))) // skip if another project inside this
continue;
dirs.push_back(f);
@@ -733,7 +733,7 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S
int idx = p_dir->find_dir_index(f);
if (idx==-1) {
- if (FileAccess::exists(cd.plus_file(f).plus_file("engine.cfg"))) // skip if another project inside this
+ if (FileAccess::exists(cd.plus_file(f).plus_file("godot.cfg"))) // skip if another project inside this
continue;
EditorFileSystemDirectory *efd = memnew( EditorFileSystemDirectory );