Resolved #1852 - buildings requiring an improved resource now accept resources with great improvements
This commit is contained in:
parent
cb6ca058f3
commit
193ebe0ccd
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Building : NamedStats(), IConstruction{
|
||||||
.any {
|
.any {
|
||||||
it.resource != null
|
it.resource != null
|
||||||
&& requiredNearbyImprovedResources!!.contains(it.resource!!)
|
&& requiredNearbyImprovedResources!!.contains(it.resource!!)
|
||||||
&& it.getTileResource().improvement == it.improvement
|
&& (it.getTileResource().improvement == it.improvement || it.improvement in Constants.greatImprovements)
|
||||||
&& it.getOwner() == civInfo
|
&& it.getOwner() == civInfo
|
||||||
}
|
}
|
||||||
if (!containsResourceWithImprovement) return "Nearby $requiredNearbyImprovedResources required"
|
if (!containsResourceWithImprovement) return "Nearby $requiredNearbyImprovedResources required"
|
||||||
|
|
Loading…
Reference in a new issue