mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 18:59:15 +07:00
Do not allow to build great improvement, if it already exists here (#2382)
This commit is contained in:
@ -364,7 +364,9 @@ object UnitActions {
|
||||
}
|
||||
addGoldPerGreatPersonUsage(unit.civInfo)
|
||||
unit.destroy()
|
||||
}.takeIf { unit.currentMovement > 0f && !tile.isWater && !tile.isCityCenter() && !tile.getLastTerrain().impassable })
|
||||
}.takeIf { unit.currentMovement > 0f && !tile.isWater &&
|
||||
!tile.isCityCenter() && !tile.getLastTerrain().impassable &&
|
||||
tile.improvement != improvementName })
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
Reference in New Issue
Block a user