From 7836f6237f734b5aae4590e98ee0d1fcff1c7b89 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 26 Jun 2018 23:08:50 +0300 Subject: [PATCH] Civilian units no longer have promote action --- core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt index 2669e316ab..7fef4836bf 100644 --- a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt +++ b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt @@ -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)