From b658e040484404f0c4bcb8e0e48dca5a2292cdaa Mon Sep 17 00:00:00 2001 From: absolutebull <78816261+absolutebull@users.noreply.github.com> Date: Sat, 13 Mar 2021 20:16:54 +0000 Subject: [PATCH] Fix the Military Caste policy (#3692) --- core/src/com/unciv/logic/city/CityInfo.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/logic/city/CityInfo.kt b/core/src/com/unciv/logic/city/CityInfo.kt index 64e72219ae..04ff34d961 100644 --- a/core/src/com/unciv/logic/city/CityInfo.kt +++ b/core/src/com/unciv/logic/city/CityInfo.kt @@ -667,6 +667,7 @@ class CityInfo { filter == "in capital" && isCapital() -> true filter == "in all cities with a world wonder" && cityConstructions.getBuiltBuildings().any { it.isWonder } -> true filter == "in all cities connected to capital" -> isConnectedToCapital() + filter == "in all cities with a garrison" && getCenterTile().militaryUnit != null -> true else -> false } }