From 58919f413b6cd2dd88a30284dd50ab3e2039eaea Mon Sep 17 00:00:00 2001 From: SeventhM <127357473+SeventhM@users.noreply.github.com> Date: Sun, 7 Apr 2024 01:26:57 -0700 Subject: [PATCH] Allow Civilian units to promote (#11391) --- .../unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt b/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt index ab1dd75644..8626919f87 100644 --- a/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt +++ b/core/src/com/unciv/ui/screens/worldscreen/unit/actions/UnitActions.kt @@ -243,7 +243,7 @@ object UnitActions { } private suspend fun SequenceScope.addPromoteActions(unit: MapUnit) { - if (unit.isCivilian() || !unit.promotions.canBePromoted()) return + if (!unit.promotions.canBePromoted()) return // promotion does not consume movement points, but is not allowed if a unit has exhausted its movement or has attacked yield(UnitAction(UnitActionType.Promote, useFrequency = 150f, // We want to show the player that they can promote