Misc balance / Fixed cross-planet sector 'lock'
This commit is contained in:
@@ -146,10 +146,16 @@ public class Universe{
|
||||
turn++;
|
||||
|
||||
int newSecondsPassed = (int)(turnDuration / 60);
|
||||
Planet current = state.getPlanet();
|
||||
|
||||
//update relevant sectors
|
||||
for(Planet planet : content.planets()){
|
||||
|
||||
//planets with different wave simulation status are not updated
|
||||
if(current != null && current.allowWaveSimulation != planet.allowWaveSimulation){
|
||||
continue;
|
||||
}
|
||||
|
||||
//first pass: clear import stats
|
||||
for(Sector sector : planet.sectors){
|
||||
if(sector.hasBase() && !sector.isBeingPlayed()){
|
||||
|
||||
Reference in New Issue
Block a user