mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Resolved #3360 - notify peace treaty to all commmon known civs
This commit is contained in:
parent
02bc52ca92
commit
114effe1ae
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user