mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-20 17:32:57 +07:00
Merge pull request #338 from ninjatao/fix_upgrade
Upgraded unit now gets promotions working.
This commit is contained in:
commit
b4544abfc9
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user