Resolved #1182 - Iroquois unique fixed

This commit is contained in:
Yair Morgenstern 2019-10-10 21:10:21 +03:00
parent 01dd6dfc7d
commit 0d929a7942
2 changed files with 6 additions and 7 deletions

View File

@ -70,7 +70,7 @@ class Nation : INamed {
if(innerColor==null) innerColorObject = Color.BLACK
else innerColorObject = colorFromRGB(innerColor!![0], innerColor!![1], innerColor!![2])
if(unique == "All units move through Forest and Jungle tiles in friendly territory as if it is Road. These tiles can be used to establish City Connections upon researching the Wheel.")
if(unique == "All units move through Forest and Jungle Tiles in friendly territory as if they have roads. These tiles can be used to establish City Connections upon researching the Wheel.")
forestsAndJunglesAreRoads = true
}

View File

@ -150,8 +150,7 @@ class UnitActions {
if (Constants.unitActionAutomation == unit.action) {
actionList += UnitAction("Stop automation", true) { unit.action = null }
}
else {
} else {
actionList += UnitAction("Automate", unit.currentMovement > 0)
{
unit.action = Constants.unitActionAutomation