mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
Add Improvements to the list of of known improvement filters (#9981)
This commit is contained in:
parent
bda3215006
commit
35b370b43b
@ -384,7 +384,7 @@ enum class UniqueParameterType(
|
||||
|
||||
/** Implemented by [TileImprovement.matchesFilter][com.unciv.models.ruleset.tile.TileImprovement.matchesFilter] */
|
||||
ImprovementFilter("improvementFilter", "All Road", null, "Improvement Filters") {
|
||||
private val knownValues = setOf("All", "All Road", "Great Improvement", "Great")
|
||||
private val knownValues = setOf("All", "Improvement", "All Road", "Great Improvement", "Great")
|
||||
override fun getErrorSeverity(parameterText: String, ruleset: Ruleset):
|
||||
UniqueType.UniqueComplianceErrorSeverity? {
|
||||
if (parameterText in knownValues) return null
|
||||
|
Loading…
Reference in New Issue
Block a user