summaryrefslogtreecommitdiffstats
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-03-23 13:53:32 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-03-23 13:53:32 +0800
commit680bcef82546fa0f50b431f20423b62621d1c5ac (patch)
tree3c1f3bfe959c2006dfabf025d09e60eb079f590a /editor/editor_export.cpp
parent3586f559d1c90b0f455046ea71a8865346538278 (diff)
downloadredot-engine-680bcef82546fa0f50b431f20423b62621d1c5ac.tar.gz
Fix crash when exporting projects with shared libraries
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index afb5bd9d4d..bbc104301d 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1878,7 +1878,6 @@ Error EditorExportPlatformPC::export_project(const Ref<EditorExportPreset> &p_pr
if (err == OK && !so_files.is_empty()) {
// If shared object files, copy them.
- da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
for (int i = 0; i < so_files.size() && err == OK; i++) {
String src_path = ProjectSettings::get_singleton()->globalize_path(so_files[i].path);
String target_path;