v0.9.0: fixed back button closing game in hero select when it shouldn't
This commit is contained in:
parent
15ccffbe1f
commit
07a64ba2d3
|
@ -275,7 +275,7 @@ public class HeroSelectScene extends PixelScene {
|
|||
|
||||
@Override
|
||||
protected void onBackPressed() {
|
||||
if (!SPDSettings.intro() && Rankings.INSTANCE.totalNumber == 0){
|
||||
if (btnExit.visible){
|
||||
ShatteredPixelDungeon.switchScene(TitleScene.class);
|
||||
} else {
|
||||
super.onBackPressed();
|
||||
|
|
Loading…
Reference in New Issue
Block a user