Misc bugfixes

This commit is contained in:
Anuken
2021-08-13 19:41:14 -04:00
parent 9640acfb74
commit 681fc6de3d
3 changed files with 6 additions and 6 deletions

View File

@@ -531,7 +531,8 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
}),
new Table(c -> {
if(!(graphics.isPortrait() && mobile) && planets.planet.sectors.contains(Sector::hasBase)){
c.visible(() -> !(graphics.isPortrait() && mobile));
if(planets.planet.sectors.contains(Sector::hasBase)){
int attacked = planets.planet.sectors.count(Sector::isAttacked);
//sector notifications & search
@@ -557,7 +558,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
})).grow();
}
//TODO
void rebuildList(){
notifs.clear();