mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 09:17:19 +07:00
Fixed naval pathfinding somehow
This commit is contained in:
parent
9af256fffa
commit
a69595ee4e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user