mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Civilian units no longer have promote action
This commit is contained in:
parent
15b602da1f
commit
7836f6237f
@ -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…
x
Reference in New Issue
Block a user