mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 01:39:40 +07:00
Fix that when great person creates great improvement great person doesn't disappear. (#2062)
This commit is contained in:
@ -260,6 +260,7 @@ object UnitActions {
|
|||||||
tile.improvement = improvement
|
tile.improvement = improvement
|
||||||
tile.improvementInProgress = null
|
tile.improvementInProgress = null
|
||||||
tile.turnsToImprovement = 0
|
tile.turnsToImprovement = 0
|
||||||
|
unit.destroy()
|
||||||
}
|
}
|
||||||
if (action == null) null else (improvement to action)
|
if (action == null) null else (improvement to action)
|
||||||
}.filterNotNull()
|
}.filterNotNull()
|
||||||
|
Reference in New Issue
Block a user