Menu cleanup

This commit is contained in:
Anuken
2022-01-21 17:04:35 -05:00
parent cfb01063c0
commit 8f4f51c122
3 changed files with 10 additions and 5 deletions

View File

@@ -170,6 +170,12 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
return this;
}
//view current planet by default
if(Vars.state.rules.sector != null){
state.planet = Vars.state.rules.sector.planet;
settings.put("lastplanet", state.planet.name);
}
rebuildButtons();
mode = look;
state.otherCamPos = null;