This commit is contained in:
@@ -89,7 +89,7 @@ public class BaseAI{
|
|||||||
calculating = false;
|
calculating = false;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
var field = pathfinder.getField(state.rules.waveTeam, Pathfinder.costGround, Pathfinder.fieldCore);
|
var field = pathfinder.getField(data.team, Pathfinder.costGround, Pathfinder.fieldCore);
|
||||||
|
|
||||||
if(field.weights != null){
|
if(field.weights != null){
|
||||||
int[][] weights = field.weights;
|
int[][] weights = field.weights;
|
||||||
@@ -120,7 +120,7 @@ public class BaseAI{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//found the end.
|
//found the end.
|
||||||
if(calcTile.build instanceof CoreBuild b && b.team == state.rules.defaultTeam){
|
if(calcTile.build instanceof CoreBuild b && b.team != data.team){
|
||||||
//clean up calculations and flush results
|
//clean up calculations and flush results
|
||||||
calculating = false;
|
calculating = false;
|
||||||
calcCount = 0;
|
calcCount = 0;
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ public class ContentInfoDialog extends BaseDialog{
|
|||||||
|
|
||||||
if(map.size == 0) continue;
|
if(map.size == 0) continue;
|
||||||
|
|
||||||
//TODO check
|
|
||||||
if(stats.useCategories){
|
if(stats.useCategories){
|
||||||
table.add("@category." + cat.name()).color(Pal.accent).fillX();
|
table.add("@category." + cat.name()).color(Pal.accent).fillX();
|
||||||
table.row();
|
table.row();
|
||||||
|
|||||||
Reference in New Issue
Block a user