mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 06:51:30 -04:00
Resolved #856 - Cities created in your own territory get their own land and are no longer "ghost cities"
This commit is contained in:
parent
6dc2e0dc8a
commit
5ed9a5912b
@ -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) }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user