mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-18 11:49:19 +07:00
Resolved #3360 - notify peace treaty to all commmon known civs
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user