Fixed compilation

This commit is contained in:
Anuken
2022-10-29 20:09:00 -04:00
parent 628d391332
commit d53a2f52ac

View File

@@ -225,10 +225,11 @@ public class Universe{
}else if(attacked && wavesPassed > 0 && sector.info.winWave > 1 && sector.info.wave + wavesPassed >= sector.info.winWave && !sector.hasEnemyBase()){
//autocapture the sector
sector.info.waves = false;
boolean was = sector.info.wasCaptured;
sector.info.wasCaptured = true;
//fire the event
Events.fire(new SectorCaptureEvent(sector));
Events.fire(new SectorCaptureEvent(sector, !was));
}
float scl = sector.getProductionScale();