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)

This commit is contained in:
givehub99 2020-11-03 09:12:34 -08:00 committed by GitHub
parent f957dee357
commit 23cab0d50c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,6 +332,7 @@ open class TileInfo {
|| filter == terrainFeature
|| baseTerrainObject.uniques.contains(filter)
|| terrainFeature != null && getTerrainFeature()!!.uniques.contains(filter)
|| improvement == filter
|| filter == "Water" && isWater
}