From 114effe1aed701eacb7148fc3d85190e75fb9dbd Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Mon, 23 Nov 2020 20:01:58 +0200 Subject: [PATCH] Resolved #3360 - notify peace treaty to all commmon known civs --- .../civilization/diplomacy/DiplomacyManager.kt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt b/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt index 3c3a331d47..1d4a429451 100644 --- a/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt +++ b/core/src/com/unciv/logic/civilization/diplomacy/DiplomacyManager.kt @@ -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()