mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Fix the Military Caste policy (#3692)
This commit is contained in:
parent
67bf1e838d
commit
b658e04048
@ -667,6 +667,7 @@ class CityInfo {
|
|||||||
filter == "in capital" && isCapital() -> true
|
filter == "in capital" && isCapital() -> true
|
||||||
filter == "in all cities with a world wonder" && cityConstructions.getBuiltBuildings().any { it.isWonder } -> 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 connected to capital" -> isConnectedToCapital()
|
||||||
|
filter == "in all cities with a garrison" && getCenterTile().militaryUnit != null -> true
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user