diff options
-rw-r--r-- | tools/editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp index c678e4a6b0..f6846f16a3 100644 --- a/tools/editor/project_manager.cpp +++ b/tools/editor/project_manager.cpp @@ -1154,7 +1154,7 @@ void ProjectManager::_files_dropped(StringArray p_files, int p_screen) { dir->list_dir_begin(); String file = dir->get_next(); while(confirm && file!=String()) { - if (!da->current_is_dir() && file.ends_with("engine.cfg")) { + if (!dir->current_is_dir() && file.ends_with("engine.cfg")) { confirm = false; } file = dir->get_next(); |