Fixed a unique & better credits (#4998)

This commit is contained in:
Xander Lenstra
2021-08-27 15:27:17 +02:00
committed by GitHub
parent 7085ea95cc
commit 7dd7e0b278
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ class Building : NamedStats(), INonPerpetualConstruction, ICivilopediaText {
}
for (unique in city.getMatchingUniques("[] from every [] in cities where this religion has at least [] followers"))
if (unique.params[2].toInt() <= city.religion.getFollowersOfMajorityReligion())
if (unique.params[2].toInt() <= city.religion.getFollowersOfMajorityReligion() && matchesFilter(unique.params[1]))
stats.add(unique.stats)
for (unique in uniqueObjects)