Resolved #3713 - Fixed misspelled "fresh water" in farm unique check

This commit is contained in:
Yair Morgenstern 2021-03-18 23:01:47 +02:00
parent 87ff4c91f5
commit a08a5a7435

View File

@ -292,9 +292,9 @@ open class TileInfo {
}
for (unique in cityWideUniques + civWideUniques + improvementUniques) {
if (improvement.name == unique.params[1]
|| (unique.params[1] == "Great Improvement" && improvement.isGreatImprovement())
|| (unique.params[1] == "fresh water" && isAdjacentToFreshwater)
|| (unique.params[1] == "non-fresh water" && !isAdjacentToFreshwater)
|| unique.params[1] == "Great Improvement" && improvement.isGreatImprovement()
|| unique.params[1] == "Fresh water" && isAdjacentToFreshwater
|| unique.params[1] == "non-fresh water" && !isAdjacentToFreshwater
)
stats.add(unique.stats)
}