Fixed #3250
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user