mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix Android main menu crash, and user data directory check.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
This commit is contained in:
parent
1c9f05d792
commit
9aaf67ebe0
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue