mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 15:48:07 +07:00
Fixed #3250
This commit is contained in:
parent
4a79f2fb4d
commit
6cde363d77
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user