Resolved #856 - Cities created in your own territory get their own land and are no longer "ghost cities"

This commit is contained in:
Yair Morgenstern
2019-06-09 23:15:03 +03:00
parent 6dc2e0dc8a
commit 5ed9a5912b
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class CityExpansionManager {
relinquishOwnership(tile)
cityInfo.getCenterTile().getTilesInDistance(1)
.filter { it.getCity()==null } // can't take ownership of owned tiles
.filter { it.getCity()==null || it.getCity()!!.civInfo==cityInfo.civInfo } // can't take ownership of owned tiles
.forEach { takeOwnership(it) }
}