v1.4.0: actually properly fixed the visibility of btnExit
This commit is contained in:
+1
-1
@@ -282,7 +282,7 @@ public class HeroSelectScene extends PixelScene {
|
|||||||
@Override
|
@Override
|
||||||
public void update() {
|
public void update() {
|
||||||
super.update();
|
super.update();
|
||||||
btnExit.visible = !SPDSettings.intro() || Rankings.INSTANCE.totalNumber > 0;
|
btnExit.visible = !SPDSettings.intro();
|
||||||
//do not fade when a window is open
|
//do not fade when a window is open
|
||||||
for (Object v : members){
|
for (Object v : members){
|
||||||
if (v instanceof Window) resetFade();
|
if (v instanceof Window) resetFade();
|
||||||
|
|||||||
Reference in New Issue
Block a user