From fb0627f3d7b7f158f1400acb1f7706df576fdc76 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 16 May 2019 15:06:26 -0400 Subject: [PATCH] v0.7.3: challenges are now auto-enabled on debug builds --- .../shatteredpixeldungeon/windows/WndStartGame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndStartGame.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndStartGame.java index d5d1f2948..7f7d12190 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndStartGame.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndStartGame.java @@ -47,6 +47,7 @@ import com.watabou.noosa.Image; import com.watabou.noosa.RenderedText; import com.watabou.noosa.ui.Button; import com.watabou.noosa.ui.Component; +import com.watabou.utils.DeviceCompat; public class WndStartGame extends Window { @@ -116,7 +117,7 @@ public class WndStartGame extends Window { start.setRect(0, HEIGHT - 20, WIDTH, 20); add(start); - if (Badges.isUnlocked(Badges.Badge.VICTORY)){ + if (DeviceCompat.isDebug() || Badges.isUnlocked(Badges.Badge.VICTORY)){ IconButton challengeButton = new IconButton( Icons.get( SPDSettings.challenges() > 0 ? Icons.CHALLENGE_ON :Icons.CHALLENGE_OFF)){ @Override