From 3ff5cd51401f5da1ba01eb9f1204645986ba61a4 Mon Sep 17 00:00:00 2001 From: Duan Tao Date: Tue, 11 Dec 2018 23:45:18 +0800 Subject: [PATCH] Upgraded unit now gets promotions working. --- core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt index 778d03aaa3..e7139f956b 100644 --- a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt +++ b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt @@ -85,6 +85,7 @@ class UnitActions { val newunit = unit.civInfo.placeUnitNearTile(unitTile.position, upgradedUnit.name) newunit.health = unit.health newunit.promotions = unit.promotions + newunit.updateUniques() newunit.currentMovement = 0f } }