Allow arbitrary victory types for the purposes of policies (#10716)

This commit is contained in:
SeventhM
2023-12-13 12:36:37 -08:00
committed by GitHub
parent a24f9d7716
commit d2dde08824

View File

@ -42,7 +42,7 @@ class PolicyManager : IsPartOfGameInfoSerialization {
get() {
val value = HashMap<PolicyBranch, Int>()
for (branch in branches) {
value[branch] = branch.priorities[civInfo.getPreferredVictoryType()] ?: 0
value[branch] = branch.priorities[civInfo.nation.preferredVictoryType] ?: 0
}
return value
}