Fixed #7002
This commit is contained in:
@@ -130,7 +130,9 @@ public class SectorInfo{
|
|||||||
//enable attack mode when there's a core.
|
//enable attack mode when there's a core.
|
||||||
if(state.rules.waveTeam.core() != null){
|
if(state.rules.waveTeam.core() != null){
|
||||||
attack = true;
|
attack = true;
|
||||||
winWave = 0;
|
if(!state.rules.sector.planet.allowWaves){
|
||||||
|
winWave = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//if there are infinite waves and no win wave, add a win wave.
|
//if there are infinite waves and no win wave, add a win wave.
|
||||||
@@ -138,7 +140,7 @@ public class SectorInfo{
|
|||||||
winWave = 30;
|
winWave = 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state.rules.sector != null && state.rules.sector.preset != null && state.rules.sector.preset.captureWave > 0){
|
if(state.rules.sector != null && state.rules.sector.preset != null && state.rules.sector.preset.captureWave > 0 && !state.rules.sector.planet.allowWaves){
|
||||||
winWave = state.rules.sector.preset.captureWave;
|
winWave = state.rules.sector.preset.captureWave;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=5a5b338905
|
archash=f826256196
|
||||||
|
|||||||
Reference in New Issue
Block a user