Resolved #1902 - buildings requiring worked resources can be built in cities that are built on that resource
This commit is contained in:
parent
a514e462cc
commit
942092e33e
1 changed files with 1 additions and 1 deletions
|
@ -311,8 +311,8 @@ class Building : NamedStats(), IConstruction{
|
|||
.any {
|
||||
it.resource != null
|
||||
&& requiredNearbyImprovedResources!!.contains(it.resource!!)
|
||||
&& (it.getTileResource().improvement == it.improvement || it.improvement in Constants.greatImprovements)
|
||||
&& it.getOwner() == civInfo
|
||||
&& (it.getTileResource().improvement == it.improvement || it.improvement in Constants.greatImprovements || it.isCityCenter())
|
||||
}
|
||||
if (!containsResourceWithImprovement) return "Nearby $requiredNearbyImprovedResources required"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue