diff --git a/core/src/com/unciv/logic/automation/Automation.kt b/core/src/com/unciv/logic/automation/Automation.kt index 724f67b9cc..ef6202b4f6 100644 --- a/core/src/com/unciv/logic/automation/Automation.kt +++ b/core/src/com/unciv/logic/automation/Automation.kt @@ -103,6 +103,8 @@ object Automation { internal fun rankTile(tile: TileInfo?, civInfo: CivilizationInfo): Float { if (tile == null) return 0f + val tileOwner = tile.getOwner() + if (tileOwner != null && tileOwner != civInfo) return 0f // Already belongs to another civilization, useless to us val stats = tile.getTileStats(null, civInfo) var rank = rankStatsValue(stats, civInfo) if (tile.improvement == null) rank += 0.5f // improvement potential!