This commit is contained in:
Anuken
2020-12-04 18:55:37 -05:00
parent 6af015cc05
commit 7ec3ab5a17
5 changed files with 71 additions and 45 deletions

View File

@@ -114,6 +114,9 @@ public class BaseAI{
}
calcPath.add(calcTile.pos());
for(Point2 p : Geometry.d8){
calcPath.add(Point2.pack(p.x + calcTile.x, p.y + calcTile.y));
}
//found the end.
if(calcTile.build instanceof CoreBuild b && b.team == state.rules.defaultTeam){