Misc bugfixes
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -48,12 +48,12 @@ public class HintsFragment extends Fragment{
|
||||
}else if(!current.show()){ //current became hidden
|
||||
hide();
|
||||
}
|
||||
}else if(hints.size > 0 && !renderer.isCutscene()){
|
||||
}else if(hints.size > 0){
|
||||
//check one hint each frame to see if it should be shown.
|
||||
Hint hint = hints.find(Hint::show);
|
||||
if(hint != null && hint.complete()){
|
||||
hints.remove(hint);
|
||||
}else if(hint != null){
|
||||
}else if(hint != null && !renderer.isCutscene() && state.isGame() && control.saves.getTotalPlaytime() > 8000){
|
||||
display(hint);
|
||||
}else{
|
||||
//moused over a derelict structure
|
||||
@@ -92,7 +92,7 @@ public class HintsFragment extends Fragment{
|
||||
hints.sort(Hint::order);
|
||||
|
||||
Hint first = hints.find(Hint::show);
|
||||
if(first != null){
|
||||
if(first != null && !renderer.isCutscene() && state.isGame()){
|
||||
hints.remove(first);
|
||||
display(first);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user