mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 21:30:20 +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
|
diplomaticStatus = DiplomaticStatus.Peace
|
||||||
otherCivDiplomacy().diplomaticStatus = DiplomaticStatus.Peace
|
otherCivDiplomacy().diplomaticStatus = DiplomaticStatus.Peace
|
||||||
|
|
||||||
if (otherCiv().isAtWarWith(civInfo)) {
|
for (civ in getCommonKnownCivs()) {
|
||||||
for (civ in getCommonKnownCivs()) {
|
civ.addNotification(
|
||||||
civ.addNotification(
|
"[${civInfo.civName}] and [${otherCiv().civName}] have signed the Peace Treaty!",
|
||||||
"[${civInfo.civName}] and [${otherCiv().civName}] have signed the Peace Treaty!",
|
null,
|
||||||
null,
|
Color.WHITE
|
||||||
Color.WHITE
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val otherCiv = otherCiv()
|
val otherCiv = otherCiv()
|
||||||
|
Reference in New Issue
Block a user