Do not make cores derelict

This commit is contained in:
Anuken
2022-05-07 11:56:42 -04:00
parent 5c9ad34322
commit dfac73d81c

View File

@@ -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), () -> {