This commit is contained in:
Anuken
2020-11-03 09:12:51 -05:00
parent 4a79f2fb4d
commit 6cde363d77
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ public class Control implements ApplicationListener, Loadable{
state.wave = 1; state.wave = 1;
//reset win wave?? //reset win wave??
state.rules.winWave = sector.preset != null ? sector.preset.captureWave : 40; state.rules.winWave = state.rules.attackMode ? -1 : sector.preset != null ? sector.preset.captureWave : 40;
//kill all units, since they should be dead anwyay //kill all units, since they should be dead anwyay
Groups.unit.clear(); Groups.unit.clear();
+1 -1
View File
@@ -434,7 +434,7 @@ public class Schematics implements Loadable{
if(check && !(st.block instanceof CoreBlock)){ if(check && !(st.block instanceof CoreBlock)){
seq.clear(); seq.clear();
tile.getLinkedTilesAs(st.block, seq); tile.getLinkedTilesAs(st.block, seq);
if(seq.contains(t -> !t.block().alwaysReplace)){ if(seq.contains(t -> !t.block().alwaysReplace && !t.synthetic())){
return; return;
} }
} }