v0.7.3: challenges are now auto-enabled on debug builds
This commit is contained in:
parent
05193278f8
commit
fb0627f3d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user