From a08a5a7435e584a57bdeac738aa7bc4816f44983 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 18 Mar 2021 23:01:47 +0200 Subject: [PATCH] Resolved #3713 - Fixed misspelled "fresh water" in farm unique check --- core/src/com/unciv/logic/map/TileInfo.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/com/unciv/logic/map/TileInfo.kt b/core/src/com/unciv/logic/map/TileInfo.kt index 1f75dc6772..e04fb1be1e 100644 --- a/core/src/com/unciv/logic/map/TileInfo.kt +++ b/core/src/com/unciv/logic/map/TileInfo.kt @@ -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) }