mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user