v2.3.1: fixed it being possible to leave to start scene during tutorial

This commit is contained in:
Evan Debenham
2024-01-21 16:39:32 -05:00
parent 7ad704c43b
commit 5069d034c9

View File

@@ -460,7 +460,7 @@ public class HeroSelectScene extends PixelScene {
}
startBtn.enable(alpha != 0);
startBtn.alpha(alpha);
btnExit.enable(alpha != 0);
btnExit.enable(btnExit.visible && alpha != 0);
btnExit.icon().alpha(alpha);
optionsPane.active = optionsPane.visible && alpha != 0;
optionsPane.alpha(alpha);