This commit is contained in:
Anuken
2022-05-06 20:07:41 -04:00
parent bb6b8b020d
commit 9c0fd7c4c1
6 changed files with 10 additions and 6 deletions
@@ -308,7 +308,7 @@ public class CoreBlock extends StorageBlock{
}
//add a spawn to the map for future reference - waves should be disabled, so it shouldn't matter
if(state.isCampaign() && team == state.rules.waveTeam && team.cores().size <= 1){
if(state.isCampaign() && team == state.rules.waveTeam && team.cores().size <= 1 && state.rules.sector.planet.enemyCoreSpawnReplace){
//do not recache
tile.setOverlayQuiet(Blocks.spawn);