From 7dd7e0b2781c892189a12027858d6655eeb1beaf Mon Sep 17 00:00:00 2001 From: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Date: Fri, 27 Aug 2021 15:27:17 +0200 Subject: [PATCH] Fixed a unique & better credits (#4998) --- core/src/com/unciv/models/ruleset/Building.kt | 2 +- docs/Credits.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/models/ruleset/Building.kt b/core/src/com/unciv/models/ruleset/Building.kt index 885ef0a16e..b5d4b4e165 100644 --- a/core/src/com/unciv/models/ruleset/Building.kt +++ b/core/src/com/unciv/models/ruleset/Building.kt @@ -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) diff --git a/docs/Credits.md b/docs/Credits.md index 53f52a76ab..cb550f3c57 100644 --- a/docs/Credits.md +++ b/docs/Credits.md @@ -684,7 +684,7 @@ Sounds are from FreeSound.org unless otherwise noted and are either Creative Com * [elephant 44](https://freesound.org/people/y89312/sounds/139875/) by y89312 for Naruesan's Elephant sound * Excerpt from [Missile Strike](https://freesound.org/people/BaDoink/sounds/570690/) by BaDoink for guided missile -* Excerpt from [Campfire](https://www.soundjay.com/nature/sounds/campfire-1.mp3) by SoundJay for Fire & 'remove heresy' action of inquisitor +* Excerpt from [Campfire](https://www.soundjay.com/fire-sound-effects.html) by SoundJay for Fire & 'remove heresy' action of inquisitor # Music The following music is from https://filmmusic.io