From 4cde9505ffd5a720c2b37ab64d0896316933c9d2 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Mon, 23 Dec 2019 14:53:17 +0700 Subject: [PATCH] Show info in debug build --- android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java b/android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java index 0851de4..51961b4 100644 --- a/android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java +++ b/android/src/ru/deadsoftware/cavedroid/AndroidLauncher.java @@ -20,6 +20,10 @@ public class AndroidLauncher extends AndroidApplication { exit(); } initialize(new CaveGame(gameFolder, true), config); + + if (BuildConfig.DEBUG) { + GameScreen.SHOW_DEBUG = true; + } } @Override -- 2.29.2