Update UnitType.java (#8778)

This commit is contained in:
Даркнесс#3729
2023-06-29 16:43:41 +03:00
committed by GitHub
parent 1d1ec8ee2d
commit cc41b99c75

View File

@@ -684,8 +684,8 @@ public class UnitType extends UnlockableContent{
if(pathCost == null){
pathCost =
example instanceof WaterMovec ? ControlPathfinder.costNaval :
allowLegStep ? ControlPathfinder.costLegs :
naval ? ControlPathfinder.costNaval :
allowLegStep || example instanceof Crawlc ? ControlPathfinder.costLegs :
hovering ? ControlPathfinder.costHover :
ControlPathfinder.costGround;
}