This commit is contained in:
Anuken
2020-12-13 23:40:06 -05:00
parent 901c23f295
commit bbf84185cc
2 changed files with 5 additions and 4 deletions

View File

@@ -766,9 +766,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
sector.isBeingPlayed() ? "@sectors.resume" :
sector.hasBase() ? "@sectors.go" :
locked ? "@locked" : "@sectors.launch",
locked ? Icon.lock : Icon.play, () -> {
playSelected();
}).growX().height(54f).minWidth(170f).padTop(4).disabled(locked);
locked ? Icon.lock : Icon.play, this::playSelected).growX().height(54f).minWidth(170f).padTop(4).disabled(locked);
}
stable.pack();