mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Allow arbitrary victory types for the purposes of policies (#10716)
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user