Fixed #3250
This commit is contained in:
@@ -288,7 +288,7 @@ public class Control implements ApplicationListener, Loadable{
|
||||
state.wave = 1;
|
||||
|
||||
//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
|
||||
Groups.unit.clear();
|
||||
|
||||
@@ -434,7 +434,7 @@ public class Schematics implements Loadable{
|
||||
if(check && !(st.block instanceof CoreBlock)){
|
||||
seq.clear();
|
||||
tile.getLinkedTilesAs(st.block, seq);
|
||||
if(seq.contains(t -> !t.block().alwaysReplace)){
|
||||
if(seq.contains(t -> !t.block().alwaysReplace && !t.synthetic())){
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user