summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-18 13:47:32 +0100
committerGitHub <noreply@github.com>2021-11-18 13:47:32 +0100
commite7216d408530506bf0c4ab5eaf9b059c5598f303 (patch)
tree79023c9528936147468c19cd37d50099b14063b4 /drivers/unix/os_unix.cpp
parentbae15cb90ed18ea36c68c6fff47ca69f91660d8a (diff)
parentf6d16d55c6852c49eae181c2444d1f5bc0f3d04d (diff)
Merge pull request #55072 from KoBeWi/untitled_goose_project
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index 1bc88a86f7..1ebc8cca5e 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -473,7 +473,7 @@ String OS_Unix::get_user_data_dir() const {
}
}
- return ProjectSettings::get_singleton()->get_resource_path();
+ return get_data_path().plus_file(get_godot_dir_name()).plus_file("app_userdata").plus_file("[unnamed project]");
}
String OS_Unix::get_executable_path() const {