Update UnitType.java (#8778)
This commit is contained in:
@@ -684,8 +684,8 @@ public class UnitType extends UnlockableContent{
|
|||||||
|
|
||||||
if(pathCost == null){
|
if(pathCost == null){
|
||||||
pathCost =
|
pathCost =
|
||||||
example instanceof WaterMovec ? ControlPathfinder.costNaval :
|
naval ? ControlPathfinder.costNaval :
|
||||||
allowLegStep ? ControlPathfinder.costLegs :
|
allowLegStep || example instanceof Crawlc ? ControlPathfinder.costLegs :
|
||||||
hovering ? ControlPathfinder.costHover :
|
hovering ? ControlPathfinder.costHover :
|
||||||
ControlPathfinder.costGround;
|
ControlPathfinder.costGround;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user