Start the game on clean install fix

This commit is contained in:
Lubos 2022-05-08 08:50:25 +02:00
parent a56b9ad288
commit 9d09e3f9d8

View file

@ -77,8 +77,10 @@ public class MainActivity extends SDLActivity // implements KeyEvent.Callback
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] results) {
if (requestCode == WRITE_EXTERNAL_STORAGE_PERMISSION_ID) {
finish();
System.exit(0);
try {
create();
} catch (Exception e) {
}
}
}