Legion no longer construct roads on water tiles - #811
This commit is contained in:
parent
c01acee372
commit
2066978ca0
1 changed files with 3 additions and 1 deletions
|
@ -169,8 +169,10 @@ class UnitActions {
|
|||
}
|
||||
}
|
||||
|
||||
if(unit.hasUnique("Can construct roads") && tile.roadStatus==RoadStatus.None
|
||||
if(unit.hasUnique("Can construct roads")
|
||||
&& tile.roadStatus==RoadStatus.None
|
||||
&& tile.improvementInProgress != "Road"
|
||||
&& tile.isLand
|
||||
&& unit.civInfo.tech.isResearched(GameBasics.TileImprovements["Road"]!!.techRequired!!))
|
||||
actionList+=UnitAction("Construct road", unit.currentMovement >0){
|
||||
tile.improvementInProgress="Road"
|
||||
|
|
Loading…
Reference in a new issue