diff --git a/core/src/com/unciv/logic/map/tile/TileImprovementFunctions.kt b/core/src/com/unciv/logic/map/tile/TileImprovementFunctions.kt index b350d6c86bcc7..001a94a92df06 100644 --- a/core/src/com/unciv/logic/map/tile/TileImprovementFunctions.kt +++ b/core/src/com/unciv/logic/map/tile/TileImprovementFunctions.kt @@ -260,12 +260,18 @@ class TileImprovementFunctions(val tile: Tile) { UniqueTriggerActivation.triggerUnique(unique, civ, unit = unit, tile = tile) for (unique in civ.getTriggeredUniques(UniqueType.TriggerUponBuildingImprovement, stateForConditionals) - .filter { improvement.matchesFilter(it.params[0]) }) + .filter { + it.getModifiers(UniqueType.TriggerUponBuildingImprovement).any { + improvement.matchesFilter(it.params[0]) + } }) UniqueTriggerActivation.triggerUnique(unique, civ, unit = unit, tile = tile) if (unit == null) return for (unique in unit.getTriggeredUniques(UniqueType.TriggerUponBuildingImprovement, stateForConditionals) - .filter { improvement.matchesFilter(it.params[0]) }) + .filter { + it.getModifiers(UniqueType.TriggerUponBuildingImprovement).any { + improvement.matchesFilter(it.params[0]) + } }) UniqueTriggerActivation.triggerUnique(unique, civ, unit = unit, tile = tile) }