diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_settings.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 741a210950..94473cb989 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -780,12 +780,6 @@ void EditorSettings::create() { // Validate/create data dir and subdirectories dir = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); - if (dir->change_dir(data_path) != OK) { - ERR_PRINT("Cannot find path for data directory!"); - memdelete(dir); - goto fail; - } - if (dir->change_dir(data_dir) != OK) { dir->make_dir_recursive(data_dir); if (dir->change_dir(data_dir) != OK) { |