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