Resolved #3360 - notify peace treaty to all commmon known civs

This commit is contained in:
Yair Morgenstern
2020-11-23 20:01:58 +02:00
parent 02bc52ca92
commit 114effe1ae

View File

@ -526,14 +526,12 @@ class DiplomacyManager() {
diplomaticStatus = DiplomaticStatus.Peace
otherCivDiplomacy().diplomaticStatus = DiplomaticStatus.Peace
if (otherCiv().isAtWarWith(civInfo)) {
for (civ in getCommonKnownCivs()) {
civ.addNotification(
"[${civInfo.civName}] and [${otherCiv().civName}] have signed the Peace Treaty!",
null,
Color.WHITE
)
}
for (civ in getCommonKnownCivs()) {
civ.addNotification(
"[${civInfo.civName}] and [${otherCiv().civName}] have signed the Peace Treaty!",
null,
Color.WHITE
)
}
val otherCiv = otherCiv()