mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 07:49:17 +07:00
Automated units stay automated after upgrade (#10361)
This commit is contained in:
@ -255,6 +255,8 @@ class MapUnit : IsPartOfGameInfoSerialization {
|
|||||||
promotions.addPromotion(promotion, isFree = true)
|
promotions.addPromotion(promotion, isFree = true)
|
||||||
|
|
||||||
newUnit.promotions = promotions.clone()
|
newUnit.promotions = promotions.clone()
|
||||||
|
newUnit.automated = automated
|
||||||
|
newUnit.action = action // Needed too for Unit Overview action column
|
||||||
|
|
||||||
newUnit.updateUniques()
|
newUnit.updateUniques()
|
||||||
newUnit.updateVisibleTiles()
|
newUnit.updateVisibleTiles()
|
||||||
|
Reference in New Issue
Block a user