#5897 with proper formatting
This commit is contained in:
@@ -518,7 +518,10 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
pt.button(planet.localizedName, Styles.clearTogglet, () -> {
|
pt.button(planet.localizedName, Styles.clearTogglet, () -> {
|
||||||
selected = null;
|
selected = null;
|
||||||
launchSector = null;
|
launchSector = null;
|
||||||
renderer.planets.planet = planet;
|
if(renderer.planets.planet != planet){
|
||||||
|
renderer.planets.planet = planet;
|
||||||
|
rebuildList();
|
||||||
|
}
|
||||||
settings.put("lastplanet", planet.name);
|
settings.put("lastplanet", planet.name);
|
||||||
}).width(200).height(40).growX().update(bb -> bb.setChecked(renderer.planets.planet == planet));
|
}).width(200).height(40).growX().update(bb -> bb.setChecked(renderer.planets.planet == planet));
|
||||||
pt.row();
|
pt.row();
|
||||||
|
|||||||
Reference in New Issue
Block a user