mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 09:31:34 +00:00
Fix data directory of unnamed projects
This commit is contained in:
parent
15062513c0
commit
f6d16d55c6
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue