mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
terrainFilter accepts tile resource uniques
This commit is contained in:
parent
f1cfe3e907
commit
bd41630f84
@ -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) =
|
||||
|
Loading…
Reference in New Issue
Block a user