v0.9.0: fixed back button closing game in hero select when it shouldn't
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user