diff options
author | Kodexky <kodexky@gmail.com> | 2014-11-24 02:31:30 -0430 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2014-11-26 18:11:08 +1000 |
commit | 9aaf67ebe0d6b05294695df6b0c8031f26b9a673 (patch) | |
tree | 96fb902c9e44b62833bb797065fc6f0d46072c23 /src | |
parent | 1c9f05d792562374046e74ad3eb75988d529b15c (diff) | |
download | minetest-9aaf67ebe0d6b05294695df6b0c8031f26b9a673.tar.gz minetest-9aaf67ebe0d6b05294695df6b0c8031f26b9a673.tar.bz2 minetest-9aaf67ebe0d6b05294695df6b0c8031f26b9a673.zip |
Fix Android main menu crash, and user data directory check.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8ba24f307..23ce01073 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1071,6 +1071,8 @@ static bool create_userdata_path() porting::setExternalStorageDir(porting::jnienv); if (!fs::PathExists(porting::path_user)) { success = fs::CreateDir(porting::path_user); + } else { + success = true; } porting::copyAssets(); #else |