mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +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)
|
||||
|
||||
newUnit.promotions = promotions.clone()
|
||||
newUnit.automated = automated
|
||||
newUnit.action = action // Needed too for Unit Overview action column
|
||||
|
||||
newUnit.updateUniques()
|
||||
newUnit.updateVisibleTiles()
|
||||
|
Reference in New Issue
Block a user