diff options
author | kobewi <kobewi4e@gmail.com> | 2021-11-18 01:36:13 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-11-18 12:31:29 +0100 |
commit | f6d16d55c6852c49eae181c2444d1f5bc0f3d04d (patch) | |
tree | e658667c0c870c21c1e26c5f00c9403638e92e8d /drivers/unix | |
parent | 15062513c01a835f59d9c905e5e65a7002d6c370 (diff) |
Fix data directory of unnamed projects
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
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 { |