Resolved #2928 - contact with other civs is now also when encountering their cities

This commit is contained in:
Yair Morgenstern
2020-08-02 15:10:36 +03:00
parent ebb8432dcb
commit 01d6698b7a

View File

@ -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
}