Civilian units no longer have promote action
This commit is contained in:
parent
15b602da1f
commit
7836f6237f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class UnitActions {
|
||||||
actionList += UnitAction("Fortify", { unit.action = "Fortify 0" }, unit.currentMovement != 0f)
|
actionList += UnitAction("Fortify", { unit.action = "Fortify 0" }, unit.currentMovement != 0f)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(unit.promotions.canBePromoted()){
|
if(unit.getBaseUnit().unitType!= UnitType.Civilian && unit.promotions.canBePromoted()){
|
||||||
actionList += UnitAction("Promote",
|
actionList += UnitAction("Promote",
|
||||||
{UnCivGame.Current.screen = PromotionPickerScreen(unit)},
|
{UnCivGame.Current.screen = PromotionPickerScreen(unit)},
|
||||||
unit.currentMovement != 0f)
|
unit.currentMovement != 0f)
|
||||||
|
|
Loading…
Reference in a new issue