Do not make cores derelict
This commit is contained in:
@@ -294,8 +294,12 @@ public class Teams{
|
|||||||
|
|
||||||
//convert all team tiles to neutral, randomly killing them
|
//convert all team tiles to neutral, randomly killing them
|
||||||
for(var b : builds){
|
for(var b : builds){
|
||||||
|
if(b instanceof CoreBuild){
|
||||||
|
b.kill();
|
||||||
|
}else{
|
||||||
scheduleDerelict(b);
|
scheduleDerelict(b);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//kill all units randomly
|
//kill all units randomly
|
||||||
units.each(u -> Time.run(Mathf.random(0f, 60f * 5f), () -> {
|
units.each(u -> Time.run(Mathf.random(0f, 60f * 5f), () -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user