(slightly) fewer polys in campaign

This commit is contained in:
Anuken
2020-10-22 17:12:38 -04:00
parent ace9aebf2b
commit a773edd838
4 changed files with 7 additions and 3 deletions

View File

@@ -25,6 +25,11 @@ public abstract class PlanetGenerator extends BasicGenerator implements HexMeshe
if(noise < 0.15){
for(Ptile other : tile.tiles){
//no sectors near start sector!
if(sector.planet.getSector(other).id == sector.planet.startSector){
return;
}
if(sector.planet.getSector(other).generateEnemyBase){
any = false;
break;