From 23cab0d50c6d96000fb701e938a29098c01beba5 Mon Sep 17 00:00:00 2001 From: givehub99 <71454921+givehub99@users.noreply.github.com> Date: Tue, 3 Nov 2020 09:12:34 -0800 Subject: [PATCH] Polynesia's unique "+[10]% Strength if within [2] tiles of a [Moai]" was not working correctly. The matchesUniqueFilter function didn't check for improvement on the tile. This was corrected and now Polynesia's unique works correctly. Any other improvement besides Moai will also work. (#3315) --- core/src/com/unciv/logic/map/TileInfo.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/map/TileInfo.kt b/core/src/com/unciv/logic/map/TileInfo.kt index c2e61836f5..d849bec2cc 100644 --- a/core/src/com/unciv/logic/map/TileInfo.kt +++ b/core/src/com/unciv/logic/map/TileInfo.kt @@ -332,6 +332,7 @@ open class TileInfo { || filter == terrainFeature || baseTerrainObject.uniques.contains(filter) || terrainFeature != null && getTerrainFeature()!!.uniques.contains(filter) + || improvement == filter || filter == "Water" && isWater }