v1.4.0: adjusted when the exit button on hero select is visible

This commit is contained in:
Evan Debenham
2022-09-20 20:34:21 -04:00
parent bdb9e6a47c
commit c801a89b2e

View File

@@ -216,7 +216,7 @@ public class HeroSelectScene extends PixelScene {
btnExit = new ExitButton();
btnExit.setPos( Camera.main.width - btnExit.width(), 0 );
add( btnExit );
btnExit.visible = !SPDSettings.intro() || Rankings.INSTANCE.totalNumber > 0;
btnExit.visible = !SPDSettings.intro();
prompt = PixelScene.renderTextBlock(Messages.get(this, "title"), 12);
prompt.hardlight(Window.TITLE_COLOR);