mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-20 09:17:47 +07: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)
|
||||
}
|
||||
|
||||
if(unit.promotions.canBePromoted()){
|
||||
if(unit.getBaseUnit().unitType!= UnitType.Civilian && unit.promotions.canBePromoted()){
|
||||
actionList += UnitAction("Promote",
|
||||
{UnCivGame.Current.screen = PromotionPickerScreen(unit)},
|
||||
unit.currentMovement != 0f)
|
||||
|
Loading…
Reference in New Issue
Block a user