mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07:00
Resolved #4484 - civs with no cities can no longer pick policies
This commit is contained in:
parent
4ee0ef4e1f
commit
2e34253a1e
@ -147,6 +147,8 @@ class PolicyManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun canAdoptPolicy(): Boolean {
|
fun canAdoptPolicy(): Boolean {
|
||||||
|
if (civInfo.cities.isEmpty()) return false
|
||||||
|
|
||||||
if (freePolicies == 0 && storedCulture < getCultureNeededForNextPolicy())
|
if (freePolicies == 0 && storedCulture < getCultureNeededForNextPolicy())
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user