This commit is contained in:
Anuken
2020-07-31 21:07:28 -04:00
parent d658367be7
commit 5d3f48d0eb
2 changed files with 1 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ public class Sector{
* Only sectors adjacent to non-wave sectors can be landed on.
* TODO also preset sectors*/
public boolean unlocked(){
return hasBase();
return hasBase() || (preset != null && preset.alwaysUnlocked);
}
/** @return whether the player has a base here. */

View File

@@ -365,15 +365,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
}).row();
}
//display how many turns this sector has been attacked
//TODO implement properly
/*
if(sector.getTurnsPassed() > 0 && sector.hasBase()){
stable.row();
stable.add("[scarlet]" + Iconc.warning + " " + sector.getTurnsPassed() + "x attacks");
}*/
stable.row();
if((sector.hasBase() && mode == look) || canLaunch(sector) || (sector.preset != null && sector.preset.alwaysUnlocked)){