Resolved #4484 - civs with no cities can no longer pick policies

This commit is contained in:
Yair Morgenstern 2021-07-12 21:25:52 +03:00
parent 4ee0ef4e1f
commit 2e34253a1e

View File

@ -147,6 +147,8 @@ class PolicyManager {
}
fun canAdoptPolicy(): Boolean {
if (civInfo.cities.isEmpty()) return false
if (freePolicies == 0 && storedCulture < getCultureNeededForNextPolicy())
return false