terrainFilter accepts tile resource uniques

This commit is contained in:
Yair Morgenstern 2022-04-20 09:31:26 +03:00
parent f1cfe3e907
commit bd41630f84

View File

@ -239,6 +239,7 @@ enum class UniqueParameterType(
in ruleset.terrains -> null
in ruleset.tileResources -> null
in ruleset.terrains.values.asSequence().flatMap { it.uniques } -> null
in ruleset.tileResources.values.asSequence().flatMap { it.uniques } -> null
else -> UniqueType.UniqueComplianceErrorSeverity.RulesetSpecific
}
override fun isTranslationWriterGuess(parameterText: String, ruleset: Ruleset) =