diff --git a/core/src/com/unciv/models/ruleset/unique/UniqueParameterType.kt b/core/src/com/unciv/models/ruleset/unique/UniqueParameterType.kt index ab7f5f228e..b2fd142feb 100644 --- a/core/src/com/unciv/models/ruleset/unique/UniqueParameterType.kt +++ b/core/src/com/unciv/models/ruleset/unique/UniqueParameterType.kt @@ -72,6 +72,7 @@ enum class UniqueParameterType( override fun getErrorSeverity(parameterText: String, ruleset: Ruleset): UniqueType.UniqueComplianceErrorSeverity? { if (UnitName.getErrorSeverity(parameterText, ruleset) == null) return null + if (ruleset.units.values.any { it.uniques.contains(parameterText) }) return null return UnitTypeFilter.getErrorSeverity(parameterText, ruleset) } },