Fixed bug where Open Borders trades didn't work when loading games
This commit is contained in:
parent
47db4dce31
commit
dd561759e4
2 changed files with 5 additions and 2 deletions
|
@ -296,7 +296,11 @@ class CivilizationInfo {
|
|||
|
||||
tech.civInfo = this
|
||||
tech.setTransients()
|
||||
diplomacy.values.forEach { it.civInfo=this}
|
||||
|
||||
diplomacy.values.forEach {
|
||||
it.civInfo=this
|
||||
it.updateHasOpenBorders()
|
||||
}
|
||||
|
||||
victoryManager.civInfo=this
|
||||
|
||||
|
|
|
@ -85,7 +85,6 @@ class DiplomacyManager() {
|
|||
toReturn.trades.addAll(trades.map { it.clone() })
|
||||
toReturn.influence = influence
|
||||
toReturn.flagsCountdown.putAll(flagsCountdown)
|
||||
toReturn.hasOpenBorders=hasOpenBorders
|
||||
toReturn.diplomaticModifiers.putAll(diplomaticModifiers)
|
||||
return toReturn
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue