mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 22:58:50 +07:00
Resolved #2928 - contact with other civs is now also when encountering their cities
This commit is contained in:
@ -32,7 +32,7 @@ class CivInfoTransientUpdater(val civInfo: CivilizationInfo) {
|
||||
val viewedCivs = HashMap<CivilizationInfo,TileInfo>()
|
||||
for (tile in civInfo.viewableTiles) {
|
||||
val tileOwner = tile.getOwner()
|
||||
if (tileOwner != null) viewedCivs[civInfo] = tile
|
||||
if (tileOwner != null) viewedCivs[tileOwner] = tile
|
||||
for (unit in tile.getUnits()) viewedCivs[unit.civInfo] = tile
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user