diff options
author | stujones11 <stujones111@gmail.com> | 2019-06-15 14:12:59 +0100 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-06-15 15:12:59 +0200 |
commit | 95a37efc31586babadc2f42e310e13e8319158a3 (patch) | |
tree | 8b81d68873a09b9fa9c969c506cd426d8e156fd5 /src | |
parent | f2c73def4b0c7fcfab521c0c54ada82a94b065c5 (diff) | |
download | minetest-95a37efc31586babadc2f42e310e13e8319158a3.tar.gz minetest-95a37efc31586babadc2f42e310e13e8319158a3.tar.bz2 minetest-95a37efc31586babadc2f42e310e13e8319158a3.zip |
Android: Use system provided path for default TMPFolder setting (#8505)
Diffstat (limited to 'src')
-rw-r--r-- | src/defaultsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index c3e676f79..dfaad0c63 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -433,7 +433,7 @@ void set_default_settings(Settings *settings) settings->setDefault("fullscreen", "true"); settings->setDefault("video_driver", "ogles1"); settings->setDefault("touchtarget", "true"); - settings->setDefault("TMPFolder","/sdcard/" PROJECT_NAME_C "/tmp/"); + settings->setDefault("TMPFolder", porting::getDataPath("tmp" DIR_DELIM)); settings->setDefault("touchscreen_threshold","20"); settings->setDefault("fixed_virtual_joystick", "false"); settings->setDefault("virtual_joystick_triggers_aux", "false"); |