mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-07 00:41:39 +07:00
Resolved #12370 - Fixed 'can never adopt policies'
This commit is contained in:
@ -194,7 +194,7 @@ class PolicyManager : IsPartOfGameInfoSerialization {
|
|||||||
fun canAdoptPolicy(): Boolean {
|
fun canAdoptPolicy(): Boolean {
|
||||||
if (civInfo.isSpectator()) return false
|
if (civInfo.isSpectator()) return false
|
||||||
if (freePolicies == 0 && storedCulture < getCultureNeededForNextPolicy()) return false
|
if (freePolicies == 0 && storedCulture < getCultureNeededForNextPolicy()) return false
|
||||||
if (!allPoliciesAdopted(true)) return false
|
if (allPoliciesAdopted(true)) return false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user