Fixed naval pathfinding somehow

This commit is contained in:
Anuken 2022-04-17 19:33:11 -04:00
parent 9af256fffa
commit a69595ee4e

View File

@ -45,8 +45,7 @@ public class ControlPathfinder{
costNaval = (team, tile) ->
(PathTile.solid(tile) || !PathTile.liquid(tile) ? impassable : 1) +
(PathTile.nearGround(tile) || PathTile.nearSolid(tile) ? 2 : 0) +
(PathTile.deep(tile) ? 0 : 1);
(PathTile.nearGround(tile) || PathTile.nearSolid(tile) ? 6 : 0);
public static boolean showDebug = false;