DEADSOFTWARE

Fix exit on back button
authorfred-boy <fred-boy@protonmail.com>
Sun, 22 Apr 2018 09:39:12 +0000 (16:39 +0700)
committerfred-boy <fred-boy@protonmail.com>
Sun, 22 Apr 2018 09:39:12 +0000 (16:39 +0700)
android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java

index 38dfb88b1820cf7394f3ba4ae41f336ab8324a94..aed5e8e09a6c0273100e64b11f4b37bfb6437b86 100644 (file)
@@ -15,4 +15,8 @@ public class AndroidLauncher extends AndroidApplication {
                config.useImmersiveMode = true;
                initialize(new CaveGame(true), config);
        }
+
+       @Override
+       public void onBackPressed() {
+       }
 }